cleanup patches for incremental backup
Robert Haas <robertmhaas@gmail.com>
From: Robert Haas <robertmhaas@gmail.com>
To: PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>, Jakub Wartak <jakub.wartak@enterprisedb.com>
Date: 2024-01-05T14:37:21Z
Lists: pgsql-hackers
Attachments
- v1-0002-Add-new-function-pg_get_wal_summarizer_state.patch (application/octet-stream) patch v1-0002
- v1-0001-Document-WAL-summarization-information-functions.patch (application/octet-stream) patch v1-0001
- v1-0004-Repair-various-defects-in-dc212340058b4e7ecfc5a7a.patch (application/octet-stream) patch v1-0004
- v1-0003-Add-new-pg_walsummary-tool.patch (application/octet-stream) patch v1-0003
Hi, I discovered that my patch to add WAL summarization added two new SQL-callable functions but failed to document them. 0001 fixes that. An outstanding item from the original thread was to write a better test for the not-yet-committed pg_walsummary utility. But I discovered that I couldn't do that because there were some race conditions that couldn't easily be cured. So 0002 therefore adds a new function pg_get_wal_summarizer_state() which returns various items of in-memory state related to WAL summarization. We had some brief discussion of this being desirable for other reasons; it's nice for users to be able to look at this information in case of trouble (say, if the summarizer is not keeping up). 0003 then adds the previously-proposed pg_walsummary utility, with tests that depend on 0002. 0004 attempts to fix some problems detected by Coverity and subsequent code inspection. -- Robert Haas EDB: http://www.enterprisedb.com
Commits
Same data as JSON:
GET /api/v1/messages/:b64id/commits
the thread's linked commits as JSON, with link sources.
API reference →
-
Avoid overflow in MaybeRemoveOldWalSummaries().
- 80686761c49d 17.0 landed
-
Revert "Temporary patch to help debug pg_walsummary test failures."
- 2b520860c08a 17.0 landed
-
Revise pg_walsummary's 002_blocks test to avoid spurious failures.
- ea18eb7d6255 17.0 landed
-
Temporary patch to help debug pg_walsummary test failures.
- 5ddf99734777 17.0 landed
-
More documentation updates for incremental backup.
- 7b1dbf0a8d1d 17.0 landed
-
Fix typos.
- 237d01139b8a 17.0 landed
-
Fix typo.
- 882887e9b458 17.0 landed
-
Try to fix pg_walsummary buildfarm failures.
- a7097ca630a2 17.0 cited
-
Repair various defects in dc212340058b4e7ecfc5a7a81ec50e7a207bf288.
- 3d5c332a3d60 17.0 landed
-
Add new pg_walsummary tool.
- ee1bfd168390 17.0 landed
-
Add new function pg_get_wal_summarizer_state().
- d9ef650fca7b 17.0 landed
-
Document WAL summarization information functions.
- f896057e46b0 17.0 landed