From: | Andrew Dunstan <andrew(at)dunslane(dot)net> |
---|---|
To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
Subject: | pgsql: Use incremental parsing of backup manifests. |
Date: | 2024-04-04 10:56:55 |
Message-ID: | E1rsKm6-000Ruq-HD@gemulon.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
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(-)
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 |