mirror of
https://github.com/postgres/postgres.git
synced 2025-05-27 00:04:24 -04:00
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.
This commit is contained in:
parent
e0c91a7ff0
commit
1bd3842163
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user