mirror of
https://github.com/postgres/postgres.git
synced 2025-04-24 10:47:04 +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
9b88f27cb4
commit
016c990834
@ -9263,7 +9263,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