Re: Use of backup_label not noted in log

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема Re: Use of backup_label not noted in log
Дата
Msg-id ZbIYBXIqxrH2MlhW@paquier.xyz
обсуждение исходный текст
Ответ на Re: Use of backup_label not noted in log  (Michael Paquier <michael@paquier.xyz>)
Ответы Re: Use of backup_label not noted in log  (David Steele <david@pgmasters.net>)
Список pgsql-hackers
On Mon, Jan 22, 2024 at 04:36:27PM +0900, Michael Paquier wrote:
> +       if (ControlFile->backupStartPoint != InvalidXLogRecPtr)
>
> Nit 1: I would use XLogRecPtrIsInvalid here.
>
> +       ereport(LOG,
> +               (errmsg("completed backup recovery with redo LSN %X/%X",
> +                       LSN_FORMAT_ARGS(oldBackupStartPoint))));
>
> Nit 2: How about adding backupEndPoint in this LOG?  That would give:
> "completed backup recovery with redo LSN %X/%X and end LSN %X/%X".

Hearing nothing, I've just applied a version of the patch with these
two modifications on HEAD.  If this needs tweaks, just let me know.
--
Michael

Вложения

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

Предыдущее
От: Sergey Prokhorenko
Дата:
Сообщение: Re: UUID v7
Следующее
От: Amit Langote
Дата:
Сообщение: Re: A compiling warning in jsonb_populate_record_valid