aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndres Freund <andres@anarazel.de>2022-02-26 16:06:24 -0800
committerAndres Freund <andres@anarazel.de>2022-02-26 16:07:07 -0800
commitd33aeefd9b7c8c76f584432717dc944505565e52 (patch)
treee2cecc9de1be3bc76e5dd59a626018e3b1f750dd
parenta89850a57e0557bd3faab32398eb2d9536f6e2a4 (diff)
downloadpostgresql-d33aeefd9b7c8c76f584432717dc944505565e52.tar.gz
postgresql-d33aeefd9b7c8c76f584432717dc944505565e52.zip
Fix warning on mingw due to pid_t width, introduced in fe0972ee5e6.
-rw-r--r--src/backend/replication/slot.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/backend/replication/slot.c b/src/backend/replication/slot.c
index f238a392ae7..caa6b297560 100644
--- a/src/backend/replication/slot.c
+++ b/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)