mirror of
https://github.com/postgres/postgres.git
synced 2025-11-04 20:11:56 +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:
@@ -614,8 +614,7 @@ get_primary_sysid(const char *conninfo)
|
||||
|
||||
sysid = strtou64(PQgetvalue(res, 0, 0), NULL, 10);
|
||||
|
||||
pg_log_info("system identifier is %llu on publisher",
|
||||
(unsigned long long) sysid);
|
||||
pg_log_info("system identifier is %" PRIu64 " on publisher", sysid);
|
||||
|
||||
PQclear(res);
|
||||
disconnect_database(conn, false);
|
||||
@@ -643,8 +642,7 @@ get_standby_sysid(const char *datadir)
|
||||
|
||||
sysid = cf->system_identifier;
|
||||
|
||||
pg_log_info("system identifier is %llu on subscriber",
|
||||
(unsigned long long) sysid);
|
||||
pg_log_info("system identifier is %" PRIu64 " on subscriber", sysid);
|
||||
|
||||
pg_free(cf);
|
||||
|
||||
@@ -684,8 +682,8 @@ modify_subscriber_sysid(const struct CreateSubscriberOptions *opt)
|
||||
if (!dry_run)
|
||||
update_controlfile(subscriber_dir, cf, true);
|
||||
|
||||
pg_log_info("system identifier is %llu on subscriber",
|
||||
(unsigned long long) cf->system_identifier);
|
||||
pg_log_info("system identifier is %" PRIu64 " on subscriber",
|
||||
cf->system_identifier);
|
||||
|
||||
pg_log_info("running pg_resetwal on the subscriber");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user