aboutsummaryrefslogtreecommitdiff
path: root/src/backend/backup/basebackup_incremental.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2024-10-02 20:27:45 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2024-10-02 20:27:45 -0400
commit554d3a18f36264eeb1333655b8ddcd929befa6ec (patch)
tree94db97f51c947ab80647ddf5c3f52970fbe7a757 /src/backend/backup/basebackup_incremental.c
parent920d51979a99df29112396b2c75da7921ba7a7b0 (diff)
downloadpostgresql-554d3a18f36264eeb1333655b8ddcd929befa6ec.tar.gz
postgresql-554d3a18f36264eeb1333655b8ddcd929befa6ec.zip
Adjust json_manifest_per_file_callback API in one more place.
Oversight in commit d94cf5ca7 (and in my testing of same). Discussion: https://postgr.es/m/9468.1727895630@sss.pgh.pa.us
Diffstat (limited to 'src/backend/backup/basebackup_incremental.c')
-rw-r--r--src/backend/backup/basebackup_incremental.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/backend/backup/basebackup_incremental.c b/src/backend/backup/basebackup_incremental.c
index d45bb19c2ca..f581a5f9e68 100644
--- a/src/backend/backup/basebackup_incremental.c
+++ b/src/backend/backup/basebackup_incremental.c
@@ -58,7 +58,7 @@ typedef struct
{
uint32 status;
const char *path;
- size_t size;
+ uint64 size;
} backup_file_entry;
static uint32 hash_string_pointer(const char *s);
@@ -133,7 +133,7 @@ static void manifest_process_system_identifier(JsonManifestParseContext *context
uint64 manifest_system_identifier);
static void manifest_process_file(JsonManifestParseContext *context,
const char *pathname,
- size_t size,
+ uint64 size,
pg_checksum_type checksum_type,
int checksum_length,
uint8 *checksum_payload);
@@ -966,7 +966,7 @@ manifest_process_system_identifier(JsonManifestParseContext *context,
*/
static void
manifest_process_file(JsonManifestParseContext *context,
- const char *pathname, size_t size,
+ const char *pathname, uint64 size,
pg_checksum_type checksum_type,
int checksum_length,
uint8 *checksum_payload)