Fix warning on mingw due to pid_t width, introduced in fe0972ee5e6.
This commit is contained in:
parent
a89850a57e
commit
d33aeefd9b
@ -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)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user