public inbox for [email protected]  
help / color / mirror / Atom feed
From: Robert Haas <[email protected]>
To: [email protected]
Subject: pgsql: Add new pg_walsummary tool.
Date: Thu, 11 Jan 2024 17:56:36 +0000
Message-ID: <[email protected]> (raw)

Add new pg_walsummary tool.

This can dump the contents of the WAL summary files found in
pg_wal/summaries. Normally, this shouldn't really be something anyone
needs to do, but it may be needed for debugging problems with
incremental backup, or could possibly be useful to external tools.

Discussion: http://postgr.es/m/CA+Tgmobvqqj-DW9F7uUzT-cQqs6wcVb-Xhs=w=hzJnXSE-kRGw@mail.gmail.com

Branch
------
master

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

Modified Files
--------------
doc/src/sgml/ref/allfiles.sgml        |   1 +
doc/src/sgml/ref/pg_walsummary.sgml   | 122 +++++++++++++++
doc/src/sgml/reference.sgml           |   1 +
src/bin/Makefile                      |   1 +
src/bin/meson.build                   |   1 +
src/bin/pg_walsummary/.gitignore      |   1 +
src/bin/pg_walsummary/Makefile        |  48 ++++++
src/bin/pg_walsummary/meson.build     |  30 ++++
src/bin/pg_walsummary/nls.mk          |   6 +
src/bin/pg_walsummary/pg_walsummary.c | 280 ++++++++++++++++++++++++++++++++++
src/bin/pg_walsummary/t/001_basic.pl  |  19 +++
src/bin/pg_walsummary/t/002_blocks.pl |  88 +++++++++++
src/tools/pgindent/typedefs.list      |   2 +
13 files changed, 600 insertions(+)



view thread (4+ messages)  latest in thread

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected], [email protected]
  Subject: Re: pgsql: Add new pg_walsummary tool.
  In-Reply-To: <[email protected]>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox