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

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: BUG #2495: -i start up option blows pg_ctl program.
Дата
Msg-id 1360.1151119925@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: BUG #2495: -i start up option blows pg_ctl program.  (Alvaro Herrera <alvherre@commandprompt.com>)
Ответы Re: BUG #2495: -i start up option blows pg_ctl program.  (Alvaro Herrera <alvherre@alvh.no-ip.org>)
Список pgsql-bugs
Alvaro Herrera <alvherre@commandprompt.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

В списке pgsql-bugs по дате отправления:

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: BUG #2495: -i start up option blows pg_ctl program.
Следующее
От: "Magnus Hagander"
Дата:
Сообщение: Re: BUG #2493: bug with initdb under an administrator