pgsql: Add support for incrementally parsing backup manifests

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Add support for incrementally parsing backup manifests
Date: 2024-04-04 10:56:55
Message-ID: E1rsKm6-000Run-Gc@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Add support for incrementally parsing backup manifests

This adds the infrastructure for using the new non-recursive JSON parser
in processing manifests. It's important that callers make sure that the
last piece of json handed to the incremental manifest parser contains
the entire last few lines of the manifest, including the checksum.

Author: Andrew Dunstan
Reviewed-By: Jacob Champion

Discussion: https://postgr.es/m/7b0a51d6-0d9d-7366-3a1a-f74397a02f55@dunslane.net

Branch
------
master

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

Modified Files
--------------
src/common/parse_manifest.c | 121 +++++++++++++++++++++++++++++++++---
src/include/common/parse_manifest.h | 5 ++
2 files changed, 118 insertions(+), 8 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Peter Eisentraut 2024-04-04 10:59:07 pgsql: pg_upgrade: Fix typo in message
Previous Message Peter Eisentraut 2024-04-04 09:28:18 pgsql: Silence meson warning