Re: Add TLI number to name of files generated by pg_waldump --save-fullpage

Поиск
Список
Период
Сортировка
От David Christensen
Тема Re: Add TLI number to name of files generated by pg_waldump --save-fullpage
Дата
Msg-id CAOxo6XKCL3q-Nv8aTzaHFLdjfSSg7=3vv5aWoJmJELfgVJsFiA@mail.gmail.com
обсуждение исходный текст
Ответ на Add TLI number to name of files generated by pg_waldump --save-fullpage  (Michael Paquier <michael@paquier.xyz>)
Ответы Re: Add TLI number to name of files generated by pg_waldump --save-fullpage  (Michael Paquier <michael@paquier.xyz>)
Список pgsql-hackers
On Tue, Jun 27, 2023 at 1:12 AM Michael Paquier <michael@paquier.xyz> wrote:
>
> Hi all,
> (Fujii-san and David in CC.)
>
> Fujii-san has reported on Twitter that we had better add the TLI
> number to what pg_waldump --save-fullpage generates for the file names
> of the blocks, as it could be possible that we overwrite some blocks.
> This information can be added thanks to ws_tli, that tracks the TLI of
> the opened segment.
>
> Attached is a patch to fix this issue, adding an open item assigned to
> me.  The file format is documented in the TAP test and the docs, the
> two only places that would need a refresh.
>
> Thoughts or comments?

Patch looks good, but agreed that that comment should also be fixed.

Thanks!

David



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

Предыдущее
От: Jacob Champion
Дата:
Сообщение: Re: [PATCH] Honor PG_TEST_NOCLEAN for tempdirs
Следующее
От: Roberto Mello
Дата:
Сообщение: Re: PostgreSQL 16 Beta 2 release announcement draft