Skip to content

Commit b0d11dc

Browse files
committed
fix contrib/intarray bug of gist index related to 0a59976 'Apply CORE-367-WAL patch' commit
1 parent 92d1f9f commit b0d11dc

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

src/backend/access/gist/gist.c

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -566,13 +566,8 @@ gistplacetopage(Relation rel, Size freespace, GISTSTATE *giststate,
566566
if (BufferIsValid(leftchildbuf))
567567
{
568568
Page leftpg = BufferGetPage(leftchildbuf);
569-
XLogRecPtr fakerecptr = InvalidXLogRecPtr;
570-
571-
if (!is_build)
572-
GistPageSetNSN(leftpg, recptr);
573-
else
574-
GistPageSetNSN(leftpg, fakerecptr);
575569

570+
GistPageSetNSN(leftpg, recptr);
576571
GistClearFollowRight(leftpg);
577572
PageSetLSN(leftpg, recptr);
578573
}

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