Skip to content

Commit 1bd3842

Browse files
committed
GIN entry pages follow the standard page layout - tell XLogInsert.
The entry B-tree pages all follow the standard page layout. The 9.3 code has this right. I inadvertently changed this at some point during the big refactorings in git master.
1 parent e0c91a7 commit 1bd3842

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/backend/access/gin/ginentrypage.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -554,14 +554,14 @@ entryPlaceToPage(GinBtree btree, Buffer buf, GinBtreeStack *stack,
554554
data.offset = off;
555555

556556
rdata[cnt].buffer = buf;
557-
rdata[cnt].buffer_std = false;
557+
rdata[cnt].buffer_std = true;
558558
rdata[cnt].data = (char *) &data;
559559
rdata[cnt].len = offsetof(ginxlogInsertEntry, tuple);
560560
rdata[cnt].next = &rdata[cnt + 1];
561561
cnt++;
562562

563563
rdata[cnt].buffer = buf;
564-
rdata[cnt].buffer_std = false;
564+
rdata[cnt].buffer_std = true;
565565
rdata[cnt].data = (char *) insertData->entry;
566566
rdata[cnt].len = IndexTupleSize(insertData->entry);
567567
rdata[cnt].next = NULL;

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