pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andrew Dunstan <andrew@dunslane.net>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Add support for incrementally parsing backup manifests
Date: Thu, 04 Apr 2024 10:56:55 +0000
Message-ID: <E1rsKm6-000Run-Gc@gemulon.postgresql.org> (raw)

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(-)



Message-ID: <E1rsKm6-000Run-Gc@gemulon.postgresql.org>
Permalink:  ../E1rsKm6-000Run-Gc@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1rsKm6-000Run-Gc@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: andrew@dunslane.net, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: Add support for incrementally parsing backup manifests
  In-Reply-To: <E1rsKm6-000Run-Gc@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