"pg_ctl -w" does not return a failure exit code when postmaster fails to start

Поиск
Список
Период
Сортировка
От Steve McWilliams
Тема "pg_ctl -w" does not return a failure exit code when postmaster fails to start
Дата
Msg-id 3045.10.1.1.142.1103646498.squirrel@wwws.emprisanetworks.com
обсуждение исходный текст
Список pgsql-bugs
I have noticed on linux that if you try to start postmaster via "pg_ctl
-w", but the postmaster fails to run (e.g. if you forgot to create
PGDATA), it returns a 0 exit code.  It needs to return a non-0 exit code
if postmaster failed to start, when you are using the "-w" option to wait
for it to start.

Thanks,
Steve McWilliams

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

Предыдущее
От: "PostgreSQL Bugs List"
Дата:
Сообщение: BUG #1352: 100's of postgres.exe tasks created
Следующее
От: "Steve McWilliams"
Дата:
Сообщение: Problems with "-w" option on pg_ctl.exe running as a windows service