]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Fix bug in pg_dump and psql (to reproduce the bug, just try pg_dump
authorTatsuo Ishii <ishii@postgresql.org>
Tue, 14 May 2002 02:08:22 +0000 (02:08 +0000)
committerTatsuo Ishii <ishii@postgresql.org>
Tue, 14 May 2002 02:08:22 +0000 (02:08 +0000)
commit964f1fa734a29cf6b03a1fa0b28e1df8c01f0027
tree8e567b1487789f768733c35abc0bde11bcc849f9
parent77c4ba63b80af440ffe1721f5424228494d3c0b0
Fix bug in pg_dump and psql (to reproduce the bug, just try pg_dump
--nonexistingoption).

per report from sugita@sra.co.jp on Thu, 09 May 2002 11:57:51 +0900
(JST) at pgsql-patches list.

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>.
src/bin/pg_dump/pg_dump.c
src/bin/psql/startup.c