Re: pg_ctl reports succes when start fails

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: pg_ctl reports succes when start fails
Дата
Msg-id 29225.1066916370@sss.pgh.pa.us
обсуждение исходный текст
Ответ на pg_ctl reports succes when start fails  (Tommi Maekitalo <t.maekitalo@epgmbh.de>)
Ответы Re: pg_ctl reports succes when start fails  (Andrew Dunstan <andrew@dunslane.net>)
Re: pg_ctl reports succes when start fails  (Christopher Kings-Lynne <chriskl@familyhealth.com.au>)
Re: pg_ctl reports succes when start fails  (Bruce Momjian <pgman@candle.pha.pa.us>)
Re: pg_ctl reports succes when start fails  (Peter Eisentraut <peter_e@gmx.net>)
Список pgsql-hackers
Tommi Maekitalo <t.maekitalo@epgmbh.de> writes:
> I installed 7.4beta5, created a data-dir and tried to start postgresql with 
> pg_ctl without initdb. As expected, this will fail. But pg_ctl tells me 
> "postmaster successfully started", after a fatal error, which looks very 
> confusing. When I use -l for specifying a logfile, I don't even see the 
> error, but only the success-message.

If you don't use -w, then pg_ctl doesn't wait around to see whether the
postmaster started or not.  It'd probably be a good idea for it to issue
a less positive message in this case, maybe only "postmaster launched".

I also wonder why -w isn't the default.
        regards, tom lane


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

Предыдущее
От: Makoto Yui
Дата:
Сообщение: Re: is GiST still alive?
Следующее
От: Gregor Zeitlinger
Дата:
Сообщение: Re: is GiST still alive?