Add new function pg_get_wal_summarizer_state().
Robert Haas <rhaas@postgresql.org>
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
Files
| Path | Change | +/− |
|---|---|---|
| doc/src/sgml/func.sgml | modified | +28 −0 |
| src/backend/backup/walsummaryfuncs.c | modified | +39 −0 |
| src/backend/postmaster/walsummarizer.c | modified | +65 −0 |
| src/include/catalog/catversion.h | modified | +1 −1 |
| src/include/catalog/pg_proc.dat | modified | +9 −0 |
| src/include/postmaster/walsummarizer.h | modified | +4 −0 |
Documentation touched
Discussion
- cleanup patches for incremental backup 40 messages · 2024-01-05 → 2024-03-20