pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Robert Haas <rhaas@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Add new pg_walsummary tool.
Date: Thu, 11 Jan 2024 17:56:36 +0000
Message-ID: <E1rNzIC-000wgt-4t@gemulon.postgresql.org> (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 (3+ messages)  latest in thread

Message-ID: <E1rNzIC-000wgt-4t@gemulon.postgresql.org>
Permalink:  ../E1rNzIC-000wgt-4t@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1rNzIC-000wgt-4t@gemulon.postgresql.org

 · 

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: pgsql-committers@postgresql.org
  Cc: rhaas@postgresql.org, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: Add new pg_walsummary tool.
  In-Reply-To: <E1rNzIC-000wgt-4t@gemulon.postgresql.org>

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

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