Skip site navigation (1) Skip section navigation (2)

Re: BUG #2495: -i start up option blows pg_ctl program.

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
Cc: Ermest <whitelaw(at)netc(dot)pt>, pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #2495: -i start up option blows pg_ctl program.
Date: 2006-06-24 03:32:05
Message-ID: 1360.1151119925@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-bugs
Alvaro Herrera <alvherre(at)commandprompt(dot)com> writes:
> There is indeed a bug in pg_ctl here.  We are reporting an error which
> getopt_long already reported; and furthermore, optarg is not set by that
> function in case of error.  This is the fix:

Good catch, but I'd suggest not just removing the write_stderr but
adding a comment in its place:

	/* getopt_long already issued a suitable error message */

Please commit fix in all relevant branches.

			regards, tom lane

In response to

Responses

pgsql-bugs by date

Next:From: Heinz-Peter HeidingerDate: 2006-06-24 07:44:39
Subject: BUG #2496: Troubles with fixed-point types (NUMERIC, DECIMAL,...)
Previous:From: Alvaro HerreraDate: 2006-06-24 02:23:06
Subject: Re: BUG #2495: -i start up option blows pg_ctl program.

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group