mirror of
https://github.com/postgres/postgres.git
synced 2025-08-19 23:22:23 +03:00
Use PRI?64 instead of "ll?" in format strings (continued).
Continuation of work started in commit 15a79c73
, after initial trial.
Author: Thomas Munro <thomas.munro@gmail.com>
Discussion: https://postgr.es/m/b936d2fb-590d-49c3-a615-92c3a88c6c19%40eisentraut.org
This commit is contained in:
@@ -949,9 +949,9 @@ manifest_process_system_identifier(JsonManifestParseContext *context,
|
||||
|
||||
if (manifest_system_identifier != system_identifier)
|
||||
context->error_cb(context,
|
||||
"system identifier in backup manifest is %llu, but database system identifier is %llu",
|
||||
(unsigned long long) manifest_system_identifier,
|
||||
(unsigned long long) system_identifier);
|
||||
"system identifier in backup manifest is %" PRIu64 ", but database system identifier is %" PRIu64,
|
||||
manifest_system_identifier,
|
||||
system_identifier);
|
||||
}
|
||||
|
||||
/*
|
||||
|
@@ -92,7 +92,7 @@ pg_wal_summary_contents(PG_FUNCTION_ARGS)
|
||||
if (raw_tli < 1 || raw_tli > PG_INT32_MAX)
|
||||
ereport(ERROR,
|
||||
errcode(ERRCODE_INVALID_PARAMETER_VALUE),
|
||||
errmsg("invalid timeline %lld", (long long) raw_tli));
|
||||
errmsg("invalid timeline %" PRId64, raw_tli));
|
||||
|
||||
/* Prepare to read the specified WAL summary file. */
|
||||
ws.tli = (TimeLineID) raw_tli;
|
||||
|
Reference in New Issue
Block a user