Re: pg_ctl telling only half the truth

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: pg_ctl telling only half the truth
Дата
Msg-id 26408.1099669592@sss.pgh.pa.us
обсуждение исходный текст
Ответ на pg_ctl telling only half the truth  (Markus Bertheau <twanger@bluetwanger.de>)
Ответы Re: pg_ctl telling only half the truth  (Markus Bertheau <twanger@bluetwanger.de>)
Список pgsql-bugs
Markus Bertheau <twanger@bluetwanger.de> writes:
> Guess what happend here:
> [bertheau@dicaprio pg80]$ bin/pg_ctl -D data -l log start
> postmaster starting
> [bertheau@dicaprio pg80]$

> No, postmaster was not starting - it was configured to listen on the
> default port - and there was already another postmaster running on 5432.
> This information was of course in the log file, but pg_ctl should have
> said that the postmaster did not start successfully.

It did not say that the postmaster had started; it said it was starting,
which was true.  If you want it to wait around to verify whether the
postmaster started OK, use the -w switch.

            regards, tom lane

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

Предыдущее
От: "Luiz K. Matsumura"
Дата:
Сообщение: Re: Bug in pgAdminIII or in pg 8 beta3 ?
Следующее
От: Markus Bertheau
Дата:
Сообщение: Re: pg_ctl telling only half the truth