Skip to content

Commit 554d3a1

Browse files
committed
Adjust json_manifest_per_file_callback API in one more place.
Oversight in commit d94cf5c (and in my testing of same). Discussion: https://postgr.es/m/9468.1727895630@sss.pgh.pa.us
1 parent 920d519 commit 554d3a1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/backend/backup/basebackup_incremental.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ typedef struct
5858
{
5959
uint32 status;
6060
const char *path;
61-
size_t size;
61+
uint64 size;
6262
} backup_file_entry;
6363

6464
static uint32 hash_string_pointer(const char *s);
@@ -133,7 +133,7 @@ static void manifest_process_system_identifier(JsonManifestParseContext *context
133133
uint64 manifest_system_identifier);
134134
static void manifest_process_file(JsonManifestParseContext *context,
135135
const char *pathname,
136-
size_t size,
136+
uint64 size,
137137
pg_checksum_type checksum_type,
138138
int checksum_length,
139139
uint8 *checksum_payload);
@@ -966,7 +966,7 @@ manifest_process_system_identifier(JsonManifestParseContext *context,
966966
*/
967967
static void
968968
manifest_process_file(JsonManifestParseContext *context,
969-
const char *pathname, size_t size,
969+
const char *pathname, uint64 size,
970970
pg_checksum_type checksum_type,
971971
int checksum_length,
972972
uint8 *checksum_payload)

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy