File size in a backup manifest should use uint64, not size_t.
Robert Haas <rhaas@postgresql.org>
File size in a backup manifest should use uint64, not size_t. size_t is the size of an object in memory, not the size of a file on disk. Thanks to Tom Lane for noting the error. Discussion: http://postgr.es/m/1865585.1727803933@sss.pgh.pa.us
Files
| Path | Change | +/− |
|---|---|---|
| src/bin/pg_combinebackup/load_manifest.c | modified | +2 −2 |
| src/bin/pg_combinebackup/load_manifest.h | modified | +1 −1 |
| src/bin/pg_combinebackup/write_manifest.c | modified | +3 −2 |
| src/bin/pg_combinebackup/write_manifest.h | modified | +1 −1 |
| src/bin/pg_verifybackup/astreamer_verify.c | modified | +8 −5 |
| src/bin/pg_verifybackup/pg_verifybackup.c | modified | +9 −7 |
| src/bin/pg_verifybackup/pg_verifybackup.h | modified | +1 −1 |
| src/common/parse_manifest.c | modified | +2 −2 |
| src/include/common/parse_manifest.h | modified | +1 −1 |
Discussion
- pg_verifybackup: TAR format backup verification 51 messages · 2024-07-09 → 2024-10-03