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

Peripheral Links

Header And Logo

PostgreSQL
| The world's most advanced open source database.

Site Navigation

Search for
  Advanced Search

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



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



Home | Main Index | Thread Index

Privacy Policy | PostgreSQL Archives hosted by Command Prompt, Inc. | Designed by tinysofa
Copyright © 1996 – 2008 PostgreSQL Global Development Group