Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 016c990

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 9b88f27 commit 016c990

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -9263,7 +9263,7 @@ KeepLogSeg(XLogRecPtr recptr, XLogSegNo *logSegNo)
92639263
/* then check whether slots limit removal further */
92649264
if (max_replication_slots > 0 && keep != InvalidXLogRecPtr)
92659265
{
9266-
XLogRecPtr slotSegNo;
9266+
XLogSegNo slotSegNo;
92679267

92689268
XLByteToSeg(keep, slotSegNo);
92699269

0 commit comments

Comments
 (0)