Re: Use of backup_label not noted in log

Поиск
Список
Период
Сортировка
От Laurenz Albe
Тема Re: Use of backup_label not noted in log
Дата
Msg-id c10beaebedf02574db22a2a3bd3dbcf791db6ba5.camel@cybertec.at
обсуждение исходный текст
Ответ на Re: Use of backup_label not noted in log  (Andres Freund <andres@anarazel.de>)
Список pgsql-hackers
On Mon, 2023-11-20 at 11:03 -0800, Andres Freund wrote:
> > If we add a message for starting with "backup_label", shouldn't
> > we also add a corresponding message for starting from a checkpoint
> > found in the control file?  If you see that in a problem report,
> > you immediately know what is going on.
>
> Maybe - the reason I hesitate on that is that emitting an additional log
> message when starting from a base backup just adds something "once once the
> lifetime of a node". Whereas emitting something every start obviously doesn't
> impose any limit.

The message should only be shown if PostgreSQL replays WAL, that is,
after a crash.  That would (hopefully) make it a rare message too.

Yours,
Laurenz Albe



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

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: remaining sql/json patches
Следующее
От: "Drouvot, Bertrand"
Дата:
Сообщение: Re: Synchronizing slots from primary to standby