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:
parent
f97f4fc028
commit
965956a033
@ -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);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user