mirror of
https://git.postgresql.org/git/postgresql.git
synced 2025-02-17 19:30:00 +08:00
Fix warning on mingw due to pid_t width, introduced in fe0972ee5e
.
This commit is contained in:
parent
a89850a57e
commit
d33aeefd9b
@ -571,7 +571,7 @@ restart:
|
||||
|
||||
/* unlocked read of active_pid is ok for debugging purposes */
|
||||
elog(DEBUG3, "temporary replication slot cleanup: %d in use, active_pid: %d",
|
||||
i, s->active_pid);
|
||||
i, (int) s->active_pid);
|
||||
|
||||
SpinLockAcquire(&s->mutex);
|
||||
if (s->active_pid == MyProcPid)
|
||||
|
Loading…
Reference in New Issue
Block a user