pg_verifybackup: Refactor parse_manifest_file.

Robert Haas <rhaas@postgresql.org>

Commit: dc8f2d7c064ac2ba76e5821fd96fa3837076f0d2
Author: Robert Haas <rhaas@postgresql.org>
Date: 2024-03-04T19:42:17Z
Releases: 17.0
pg_verifybackup: Refactor parse_manifest_file.

Return a pointer to the manifest_data instead of individual pointers
to relevant data stored within the manifest_data object. The previous
approach scales poorly if we add more things to the backup manifest,
as has been proposed.

Amul Sul, reviewed by Sravan Velagandula, Michael Paquier, and me.

Discussion: http://postgr.es/m/CAAJ_b95=1LONf99-M_ep588fL_WgLJfdnb7XG4GWE7JDD22E4w@mail.gmail.com

Files

PathChange+/−
src/bin/pg_verifybackup/pg_verifybackup.c modified +34 −41

Discussion