projects
/
users
/
gsingh
/
postgres.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a89850a
)
Fix warning on mingw due to pid_t width, introduced in fe0972ee5e6.
author
Andres Freund
<andres@anarazel.de>
Sun, 27 Feb 2022 00:06:24 +0000
(16:06 -0800)
committer
Andres Freund
<andres@anarazel.de>
Sun, 27 Feb 2022 00:07:07 +0000
(16:07 -0800)
src/backend/replication/slot.c
patch
|
blob
|
blame
|
history
diff --git
a/src/backend/replication/slot.c
b/src/backend/replication/slot.c
index f238a392ae7eb70fddfb69670bb557a7311aa4d5..caa6b297560ef530e140409b0b35fb9359e2d2f4 100644
(file)
--- 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)