1
0
mirror of https://github.com/postgres/postgres.git synced 2025-05-06 19:59:18 +03:00

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
This commit is contained in:
Magnus Hagander 2017-02-28 12:16:42 +01:00
parent f97f4fc028
commit 965956a033

View File

@ -9012,7 +9012,7 @@ KeepLogSeg(XLogRecPtr recptr, XLogSegNo *logSegNo)
/* then check whether slots limit removal further */ /* then check whether slots limit removal further */
if (max_replication_slots > 0 && keep != InvalidXLogRecPtr) if (max_replication_slots > 0 && keep != InvalidXLogRecPtr)
{ {
XLogRecPtr slotSegNo; XLogSegNo slotSegNo;
XLByteToSeg(keep, slotSegNo); XLByteToSeg(keep, slotSegNo);