Add checkpoint/redo LSNs to recovery errors.

Поиск
Список
Период
Сортировка
От David Steele
Тема Add checkpoint/redo LSNs to recovery errors.
Дата
Msg-id 0e90da89-77ca-4ccf-872c-9626d755e288@pgmasters.net
обсуждение исходный текст
Ответы Re: Add checkpoint/redo LSNs to recovery errors.  (Michael Paquier <michael@paquier.xyz>)
Список pgsql-hackers
Hackers,

This patch adds checkpoint/redo LSNs to recovery error messages where 
they may be useful for debugging.

When backup_label is present the LSNs are already output in a log 
message, but it still seems like a good idea to repeat them.

When backup_label is not present, the checkpoint LSN is not logged 
unless backup recovery is in progress or the checkpoint is found. In the 
case where a backup is restored but the backup_label is missing, the 
checkpoint LSN is not logged so it is useful for debugging to have it in 
the error message.

Regards,
-David
Вложения

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

Предыдущее
От: Daniel Gustafsson
Дата:
Сообщение: Re: [PoC] Federated Authn/z with OAUTHBEARER
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Relation bulk write facility