Re: Log notice that checkpoint is to be written on shutdown

Поиск
Список
Период
Сортировка
От Jeff Janes
Тема Re: Log notice that checkpoint is to be written on shutdown
Дата
Msg-id CAMkU=1wW6ekM=BKHRd731E2tfRwm8-fgFh+oBAVH6TL28K3TgQ@mail.gmail.com
обсуждение исходный текст
Ответ на Log notice that checkpoint is to be written on shutdown  (Michael Banck <michael.banck@credativ.de>)
Ответы Re: Log notice that checkpoint is to be written on shutdown
Список pgsql-hackers
On Thu, Oct 2, 2014 at 6:21 AM, Michael Banck <michael.banck@credativ.de> wrote:
Hi,

we have seen repeatedly that users can be confused about why PostgreSQL
is not shutting down even though they requested it.  Usually, this is
because `log_checkpoints' is not enabled and the final checkpoint is
being written, delaying shutdown. As no message besides "shutting down"
is written to the server log in this case, we even had users believing
the server was hanging and pondering killing it manually.

Wouldn't a better place to write this message be the terminal from which "pg_ctl stop" was invoked, rather than the server log file?

Cheers,

Jeff

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

Предыдущее
От: Michael Banck
Дата:
Сообщение: Re: Log notice that checkpoint is to be written on shutdown
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Aussie timezone database changes incoming