pgsql: Add timeline ID to file names generated with pg_waldump --save-f - Mailing list pgsql-committers

From Michael Paquier
Subject pgsql: Add timeline ID to file names generated with pg_waldump --save-f
Date
Msg-id E1qEPf2-000oU8-Li@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Add timeline ID to file names generated with pg_waldump --save-fullpage

Not including the timeline IDs to the file names generated by pg_waldump
for the individual blocks saved could cause some of these files to be
overwritten when scanning segments across multiple timelines.  Having
this information is also as much useful as the LSNs, to be able to know
from exactly which WAL segment a block is comes from.

While on it, this fixes a few comments in the tests, where the format of
the file was not described as matching with the reality.

Reported-by: Fujii Masao
Reviewed-by: Kyotaro Horiguchi, David Christensen
Discussion: https://postgr.es/m/ZJp921+nITFnvBVS@paquier.xyz

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/b381d9637030c163c3b1f8a9d3de51dfc1b4ee58

Modified Files
--------------
doc/src/sgml/ref/pg_waldump.sgml          | 9 ++++++++-
src/bin/pg_waldump/pg_waldump.c           | 3 ++-
src/bin/pg_waldump/t/002_save_fullpage.pl | 9 +++++----
3 files changed, 15 insertions(+), 6 deletions(-)


pgsql-committers by date:

Previous
From: Michael Paquier
Date:
Subject: pgsql: Ignore invalid indexes when enforcing index rules in ALTER TABLE
Next
From: Tom Lane
Date:
Subject: pgsql: Doc: minor wording adjustments in transaction isolation discussi