0001-fix-the-format-for-uint64.patch
application/octet-stream
Filename: 0001-fix-the-format-for-uint64.patch
Type: application/octet-stream
Part: 0
Patch
Format: format-patch
Series: patch 0001
Subject: fix the format for uint64
| File | + | − |
|---|---|---|
| src/backend/replication/logical/slotsync.c | 1 | 1 |
From ec85beb53b4347cf3f987284a2c93f9c2aef4eb4 Mon Sep 17 00:00:00 2001 From: Hou Zhijie <houzj.fnst@cn.fujitsu.com> Date: Fri, 16 Feb 2024 13:36:34 +0800 Subject: [PATCH] fix the format for uint64 --- src/backend/replication/logical/slotsync.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/backend/replication/logical/slotsync.c b/src/backend/replication/logical/slotsync.c index f1542ef0e9..4cab7b7101 100644 --- a/src/backend/replication/logical/slotsync.c +++ b/src/backend/replication/logical/slotsync.c @@ -321,7 +321,7 @@ reserve_wal_for_local_slot(XLogRecPtr restart_lsn) oldest_segno = XLogGetOldestSegno(cur_timeline); } - elog(DEBUG1, "segno: %ld of purposed restart_lsn for the synced slot, oldest_segno: %ld available", + elog(DEBUG1, "segno: " UINT64_FORMAT " of purposed restart_lsn for the synced slot, oldest_segno: " UINT64_FORMAT " available", segno, oldest_segno); /* -- 2.30.0.windows.2