Martijn van Oosterhout <kleptog@svana.org> writes:
> This seems like such a silly thing I'm sure it's been fixed already.
Yeah, it has, but there's been no 7.2.2 release. You could get the
7.2-branch patch from the CVS archives:
2002-05-13 22:08 ishii
* src/bin/: pg_dump/pg_dump.c, psql/startup.c (REL7_2_STABLE): 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>.
regards, tom lane