From: Andrew Dunstan <andrew@dunslane.net>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Use incremental parsing of backup manifests.
Date: Thu, 04 Apr 2024 10:56:55 +0000
Message-ID: <E1rsKm6-000Ruq-HD@gemulon.postgresql.org> (raw)
Use incremental parsing of backup manifests.
This changes the three callers to json_parse_manifest() to use
json_parse_manifest_incremental_chunk() if appropriate. In the case of
the backend caller, since we don't know the size of the manifest in
advance we always call the incremental parser.
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/222e11a10ae9840929cff617c01cc6f8f695536f
Modified Files
--------------
src/backend/backup/basebackup_incremental.c | 58 +++++++++++++-----
src/bin/pg_combinebackup/load_manifest.c | 92 ++++++++++++++++++++++-------
src/bin/pg_verifybackup/pg_verifybackup.c | 90 ++++++++++++++++++++--------
3 files changed, 178 insertions(+), 62 deletions(-)
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: Use incremental parsing of backup manifests.
In-Reply-To: <E1rsKm6-000Ruq-HD@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