postgres.git / summary / log / commit / refs

commit    d33aeefd9b7c8c76f584432717dc944505565e52
Author:   Andres Freund <andres@anarazel.de>
Date:     Sun Feb 27 00:06:24 2022 +0000
First released in: 15.0

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


src/backend/replication/slot.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) [parent: a89850a57e05]