Add TLI number to name of files generated by pg_waldump --save-fullpage
Michael Paquier <michael@paquier.xyz>
From: Michael Paquier <michael@paquier.xyz>
To: Postgres hackers <pgsql-hackers@lists.postgresql.org>
Cc: Fujii Masao <masao.fujii@gmail.com>, David Christensen <david.christensen@crunchydata.com>
Date: 2023-06-27T06:12:43Z
Lists: pgsql-hackers
Attachments
- v1-0001-Add-timeline-to-file-names-generated-with-pg_wald.patch (text/x-diff) patch v1-0001
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? -- Michael
Commits
-
Add timeline ID to file names generated with pg_waldump --save-fullpage
- b381d9637030 16.0 landed