Content-Length: 256797 | pFad | http://github.com/postgrespro/postgres_cluster/commit/965956a03305fb8517c584ffffd37515344f4101

C6 Fix incorrect variable datatype · postgrespro/postgres_cluster@965956a · GitHub
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)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres_cluster/commit/965956a03305fb8517c584ffffd37515344f4101

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy