Re: pg_dump segfaults on command-line arguments? - Mailing list pgsql-general

From Tom Lane
Subject Re: pg_dump segfaults on command-line arguments?
Date
Msg-id 6451.1029765580@sss.pgh.pa.us
Whole thread Raw
In response to pg_dump segfaults on command-line arguments?  (Martijn van Oosterhout <kleptog@svana.org>)
List pgsql-general
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

pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: Success: Finished porting application to postgreSQL
Next
From: Jeff Eckermann
Date:
Subject: Re: Success: Finished porting application to postgreSQL