From 1bd3842163f2b44e29938b5ab158bb6a589ff10c Mon Sep 17 00:00:00 2001 From: Heikki Linnakangas Date: Mon, 14 Apr 2014 14:49:30 +0300 Subject: [PATCH] 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. --- src/backend/access/gin/ginentrypage.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/backend/access/gin/ginentrypage.c b/src/backend/access/gin/ginentrypage.c index 5c7893419d..4291bab63b 100644 --- a/src/backend/access/gin/ginentrypage.c +++ b/src/backend/access/gin/ginentrypage.c @@ -554,14 +554,14 @@ entryPlaceToPage(GinBtree btree, Buffer buf, GinBtreeStack *stack, data.offset = off; rdata[cnt].buffer = buf; - rdata[cnt].buffer_std = false; + rdata[cnt].buffer_std = true; rdata[cnt].data = (char *) &data; rdata[cnt].len = offsetof(ginxlogInsertEntry, tuple); rdata[cnt].next = &rdata[cnt + 1]; cnt++; rdata[cnt].buffer = buf; - rdata[cnt].buffer_std = false; + rdata[cnt].buffer_std = true; rdata[cnt].data = (char *) insertData->entry; rdata[cnt].len = IndexTupleSize(insertData->entry); rdata[cnt].next = NULL; -- 2.40.0