pg_ctl is fragile

Поиск
Список
Период
Сортировка
От Neil Conway
Тема pg_ctl is fragile
Дата
Msg-id 8765v9dpvc.fsf@mailbox.samurai.com
обсуждение исходный текст
Ответы Re: pg_ctl is fragile  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-bugs
After an unclean shutdown (e.g. a kernel crash), pg_ctl isn't smart
enough to realize that it won't be able to successfully shut down the
postmaster:

$ pg_ctl -D /pgsql/data stop
/pgsql/bin/pg_ctl: line 269: kill: (2039) - No such process
waiting for postmaster to shut down................................................................ failed
pg_ctl: postmaster does not shut down

We should probably check the exit code produced by kill(1).

Cheers,

Neil

--
Neil Conway <neilc@samurai.com> || PGP Key ID: DB3C29FC

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Problem with a sequence being acted on by an on insert rule.
Следующее
От: Neil Conway
Дата:
Сообщение: Re: Cannot assign ROWTYPE, RECORD variables in PL/pgSQL