mirror of
https://github.com/postgres/postgres.git
synced 2025-07-15 19:21:59 +03:00
Fix warning on mingw due to pid_t width, introduced in fe0972ee5e
.
This commit is contained in:
@ -571,7 +571,7 @@ restart:
|
|||||||
|
|
||||||
/* unlocked read of active_pid is ok for debugging purposes */
|
/* unlocked read of active_pid is ok for debugging purposes */
|
||||||
elog(DEBUG3, "temporary replication slot cleanup: %d in use, active_pid: %d",
|
elog(DEBUG3, "temporary replication slot cleanup: %d in use, active_pid: %d",
|
||||||
i, s->active_pid);
|
i, (int) s->active_pid);
|
||||||
|
|
||||||
SpinLockAcquire(&s->mutex);
|
SpinLockAcquire(&s->mutex);
|
||||||
if (s->active_pid == MyProcPid)
|
if (s->active_pid == MyProcPid)
|
||||||
|
Reference in New Issue
Block a user