Log notice that checkpoint is to be written on shutdown
От
Michael Banck
Тема
Log notice that checkpoint is to be written on shutdown
Дата
Msg-id
1412256108.5984.23.camel@hartree.muc.credativ.lan
Список
Дерево обсуждения
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 David G Johnston <david.g.johnston@gmail.com>
Re: 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 Alvaro Herrera <alvherre@2ndquadrant.com>
Re: 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 Michael Banck <michael.banck@credativ.de>
Re: Log notice that checkpoint is to be written on shutdown Simon Riggs <simon@2ndQuadrant.com>
Re: Log notice that checkpoint is to be written on shutdown Andres Freund <andres@2ndquadrant.com>
Re: Log notice that checkpoint is to be written on shutdown Stephen Frost <sfrost@snowman.net>
Re: Log notice that checkpoint is to be written on shutdown Tom Lane <tgl@sss.pgh.pa.us>
Re: Log notice that checkpoint is to be written on shutdown Andres Freund <andres@2ndquadrant.com>
Re: Log notice that checkpoint is to be written on shutdown Stephen Frost <sfrost@snowman.net>
Re: Log notice that checkpoint is to be written on shutdown Tom Lane <tgl@sss.pgh.pa.us>
Re: Log notice that checkpoint is to be written on shutdown Stephen Frost <sfrost@snowman.net>
Re: Log notice that checkpoint is to be written on shutdown Marti Raudsepp <marti@juffo.org>
Re: Log notice that checkpoint is to be written on shutdown Jeff Janes <jeff.janes@gmail.com>
Re: Log notice that checkpoint is to be written on shutdown Jim Nasby <Jim.Nasby@BlueTreble.com>
Re: 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 Robert Haas <robertmhaas@gmail.com>
Re: Log notice that checkpoint is to be written on shutdown Jeff Janes <jeff.janes@gmail.com>
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. In order to alert those users that a checkpoint is being written, I propose to add a log message "waiting for checkpoint ..." on shutdown, even if log_checkpoints is disabled, as this particular checkpoint might be important information. I've attached a trivial patch for this, should it be added to the next commitfest? Cheers, Michael -- Michael Banck Projektleiter / Berater Tel.: +49 (2161) 4643-171 Fax: +49 (2161) 4643-100 Email: michael.banck@credativ.de credativ GmbH, HRB Mönchengladbach 12080 USt-ID-Nummer: DE204566209 Hohenzollernstr. 133, 41061 Mönchengladbach Geschäftsführung: Dr. Michael Meskes, Jörg Folz, Sascha Heuer
В списке pgsql-hackers по дате отправления
От: Stephen Frost
Дата: