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
This commit is contained in:
Tom Lane 2024-10-02 20:27:45 -04:00
parent 920d51979a
commit 554d3a18f3

View File

@ -58,7 +58,7 @@ typedef struct
{ {
uint32 status; uint32 status;
const char *path; const char *path;
size_t size; uint64 size;
} backup_file_entry; } backup_file_entry;
static uint32 hash_string_pointer(const char *s); static uint32 hash_string_pointer(const char *s);
@ -133,7 +133,7 @@ static void manifest_process_system_identifier(JsonManifestParseContext *context
uint64 manifest_system_identifier); uint64 manifest_system_identifier);
static void manifest_process_file(JsonManifestParseContext *context, static void manifest_process_file(JsonManifestParseContext *context,
const char *pathname, const char *pathname,
size_t size, uint64 size,
pg_checksum_type checksum_type, pg_checksum_type checksum_type,
int checksum_length, int checksum_length,
uint8 *checksum_payload); uint8 *checksum_payload);
@ -966,7 +966,7 @@ manifest_process_system_identifier(JsonManifestParseContext *context,
*/ */
static void static void
manifest_process_file(JsonManifestParseContext *context, manifest_process_file(JsonManifestParseContext *context,
const char *pathname, size_t size, const char *pathname, uint64 size,
pg_checksum_type checksum_type, pg_checksum_type checksum_type,
int checksum_length, int checksum_length,
uint8 *checksum_payload) uint8 *checksum_payload)