Re: pg_verifybackup: TAR format backup verification

Robert Haas <robertmhaas@gmail.com>

From: Robert Haas <robertmhaas@gmail.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Amul Sul <sulamul@gmail.com>, Sravan Kumar <sravanvcybage@gmail.com>, PostgreSQL-development <pgsql-hackers@postgresql.org>
Date: 2024-10-03T12:34:31Z
Lists: pgsql-hackers
On Wed, Oct 2, 2024 at 8:30 PM Tom Lane <tgl@sss.pgh.pa.us> wrote:
> Nope, it was my testing error: I supposed that this patch only
> affected pg_combinebackup and pg_verifybackup, so I only
> recompiled those modules not the whole tree.  But there's one
> more place with a json_manifest_per_file_callback callback :-(.
>
> I pushed a quick-hack fix.

I should have realized that was there, considering that it was I who
added it and not very long ago.

Thanks for fixing it.

-- 
Robert Haas
EDB: http://www.enterprisedb.com



Commits

  1. Adjust json_manifest_per_file_callback API in one more place.

  2. File size in a backup manifest should use uint64, not size_t.

  3. Fix some pg_verifybackup issues reported by Coverity.

  4. pg_verifybackup: Move some declarations to new pg_verifybackup.h

  5. pg_verifybackup: Move skip_checksums into verifier_context.

  6. Improve file header comments for astramer code.

  7. Move astreamer (except astreamer_inject) to fe_utils.

  8. Move recovery injector astreamer to a separate header file.

  9. Rename bbstreamer to astreamer.