Skip to content

Commit 965956a

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 f97f4fc commit 965956a

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9012,7 +9012,7 @@ KeepLogSeg(XLogRecPtr recptr, XLogSegNo *logSegNo)
90129012
/* then check whether slots limit removal further */
90139013
if (max_replication_slots > 0 && keep != InvalidXLogRecPtr)
90149014
{
9015-
XLogRecPtr slotSegNo;
9015+
XLogSegNo slotSegNo;
90169016

90179017
XLByteToSeg(keep, slotSegNo);
90189018

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy