Fix warning on mingw due to pid_t width, introduced in fe0972ee5e.

pull/78/head
Andres Freund 4 years ago
parent a89850a57e
commit d33aeefd9b
  1. 2
      src/backend/replication/slot.c

@ -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…
Cancel
Save