getopt_long patch for pg_dump and psql
Illegal long options to pg_dump makes core on some systems, since it lacks the
last null sentinel of struct option array.
Attached is a patch made by Mr. Ishida Akio <iakio@pjam.jpweb.net>.
Attachments:
getopt_long.patchtext/plain; charset=us-asciiDownload+3-1
Illegal long options to pg_dump makes core on some systems, since it lacks the
last null sentinel of struct option array.Attached is a patch made by Mr. Ishida Akio <iakio@pjam.jpweb.net>.
Fix committed to 7.2-stable branch. (The patches did not apply to
current).
--
Tatsuo Ishii
Tatsuo Ishii <t-ishii@sra.co.jp> writes:
Fix committed to 7.2-stable branch. (The patches did not apply to
current).
I fixed the problem in current pg_dump when I saw Sugita's report,
since I was editing those files anyway. The problem may still exist
in current psql though.
regards, tom lane
Tatsuo Ishii <t-ishii@sra.co.jp> writes:
Fix committed to 7.2-stable branch. (The patches did not apply to
current).I fixed the problem in current pg_dump when I saw Sugita's report,
since I was editing those files anyway. The problem may still exist
in current psql though.
Ok, fix for psql(startup.c) committed.
--
Tatsuo Ishii