mirror of
https://github.com/postgres/postgres.git
synced 2025-11-10 17:42:29 +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:
@@ -1272,9 +1272,9 @@ XLogReaderValidatePageHeader(XLogReaderState *state, XLogRecPtr recptr,
|
||||
longhdr->xlp_sysid != state->system_identifier)
|
||||
{
|
||||
report_invalid_record(state,
|
||||
"WAL file is from different database system: WAL file database system identifier is %llu, pg_control database system identifier is %llu",
|
||||
(unsigned long long) longhdr->xlp_sysid,
|
||||
(unsigned long long) state->system_identifier);
|
||||
"WAL file is from different database system: WAL file database system identifier is %" PRIu64 ", pg_control database system identifier is %" PRIu64,
|
||||
longhdr->xlp_sysid,
|
||||
state->system_identifier);
|
||||
return false;
|
||||
}
|
||||
else if (longhdr->xlp_seg_size != state->segcxt.ws_segsize)
|
||||
|
||||
Reference in New Issue
Block a user