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 9b88f27cb4
commit 016c990834
1 changed files with 1 additions and 1 deletions

View File

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