From: Robert Haas <rhaas@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Add new function pg_get_wal_summarizer_state().
Date: Thu, 11 Jan 2024 17:46:46 +0000
Message-ID: <E1rNz8g-000wce-BE@gemulon.postgresql.org> (raw)
Add new function pg_get_wal_summarizer_state().
This makes it possible to access information about the progress
of WAL summarization from SQL. The previously-added functions
pg_available_wal_summaries() and pg_wal_summary_contents() only
examine on-disk state, but this function exposes information from
the server's shared memory.
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/d9ef650fca7bc574586f4171cd929cfd5240326e
Modified Files
--------------
doc/src/sgml/func.sgml | 28 +++++++++++++++
src/backend/backup/walsummaryfuncs.c | 39 ++++++++++++++++++++
src/backend/postmaster/walsummarizer.c | 65 ++++++++++++++++++++++++++++++++++
src/include/catalog/catversion.h | 2 +-
src/include/catalog/pg_proc.dat | 9 +++++
src/include/postmaster/walsummarizer.h | 4 +++
6 files changed, 146 insertions(+), 1 deletion(-)
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 function pg_get_wal_summarizer_state().
In-Reply-To: <E1rNz8g-000wce-BE@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