mirror of
https://github.com/postgres/postgres.git
synced 2025-10-27 00:12:01 +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:
@@ -399,8 +399,8 @@ cancel_before_shmem_exit(pg_on_exit_callback function, Datum arg)
|
||||
before_shmem_exit_list[before_shmem_exit_index - 1].arg == arg)
|
||||
--before_shmem_exit_index;
|
||||
else
|
||||
elog(ERROR, "before_shmem_exit callback (%p,0x%llx) is not the latest entry",
|
||||
function, (long long) arg);
|
||||
elog(ERROR, "before_shmem_exit callback (%p,0x%" PRIxPTR ") is not the latest entry",
|
||||
function, arg);
|
||||
}
|
||||
|
||||
/* ----------------------------------------------------------------
|
||||
|
||||
@@ -215,10 +215,10 @@ pg_wait_until_termination(int pid, int64 timeout)
|
||||
} while (remainingtime > 0);
|
||||
|
||||
ereport(WARNING,
|
||||
(errmsg_plural("backend with PID %d did not terminate within %lld millisecond",
|
||||
"backend with PID %d did not terminate within %lld milliseconds",
|
||||
(errmsg_plural("backend with PID %d did not terminate within %" PRId64 " millisecond",
|
||||
"backend with PID %d did not terminate within %" PRId64 " milliseconds",
|
||||
timeout,
|
||||
pid, (long long int) timeout)));
|
||||
pid, timeout)));
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user