Skip to content

Commit 71b3368

Browse files
committed
Fix incorrect variable datatype
Both datatypes map to the same underlying one which is why it still worked, but we should use the correct type. Author: Kyotaro HORIGUCHI
1 parent 1f0d788 commit 71b3368

File tree

1 file changed

+1
-1
lines changed
  • src/backend/access/transam

1 file changed

+1
-1
lines changed

src/backend/access/transam/xlog.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8963,7 +8963,7 @@ KeepLogSeg(XLogRecPtr recptr, XLogSegNo *logSegNo)
89638963
/* then check whether slots limit removal further */
89648964
if (max_replication_slots > 0 && keep != InvalidXLogRecPtr)
89658965
{
8966-
XLogRecPtr slotSegNo;
8966+
XLogSegNo slotSegNo;
89678967

89688968
XLByteToSeg(keep, slotSegNo);
89698969

0 commit comments

Comments
 (0)