Re: Bug #714: pg_dump segfaults when given an invalid command

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: menno(at)oxcoda(dot)com, pgsql-bugs(at)postgresql(dot)org
Subject: Re: Bug #714: pg_dump segfaults when given an invalid command
Date: 2002-07-19 03:04:18
Message-ID: 200207190304.g6J34ID13386@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Tom Lane wrote:
> Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> writes:
> > I just tried with current CVS and got:
> > $ aspg pg_dump --someoptionthatdoesntexist somedb
> > pg_dump: unrecognized option `--someoptionthatdoesntexist'
> > Try 'pg_dump --help' for more information.
> > My guess is that there is something buggy with your libc getopt. Can
> > someone else reproduce this error?
>
> This is fixed since 7.2.

Oh, I rememberz now. Was a bug in 7.2 and fixed in 7.2.1:

revision 1.244
date: 2002/03/21 05:47:14; author: momjian; state: Exp; lines: +61 -62
Fix pg_dump help option alignment.

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Menno Smits 2002-07-19 03:06:16 Re: Bug #714: pg_dump segfaults when given an invalid command
Previous Message Tom Lane 2002-07-19 03:00:58 Re: Bug #714: pg_dump segfaults when given an invalid command