postgres.git / summary / log / commit / refs
commit 634618ecd039cf99fb8212b0314ef8a3754ca9c2
Author: Heikki Linnakangas <heikki.linnakangas@iki.fi>
Date: Thu Feb 19 19:13:15 2015 +0000
First released in: 9.5.0
Remove dead structs.
These are not used with the new WAL format anymore. GIN split records are
simply always recorded as full-page images.
Michael Paquier
src/include/access/gin_private.h | 28 ----------------------------
1 file changed, 28 deletions(-)
diff --git a/src/include/access/gin_private.h b/src/include/access/gin_private.h
index bda7c284b13..9bb0ba4b059 100644
--- a/src/include/access/gin_private.h
+++ b/src/include/access/gin_private.h
@@ -511,34 +511,6 @@ typedef struct ginxlogSplit
#define GIN_INSERT_ISLEAF 0x02 /* .. */
#define GIN_SPLIT_ROOT 0x04 /* only for split records */
-typedef struct
-{
- OffsetNumber separator;
- OffsetNumber nitem;
-
- /* FOLLOWS: IndexTuples */
-} ginxlogSplitEntry;
-
-typedef struct
-{
- uint16 lsize;
- uint16 rsize;
- ItemPointerData lrightbound; /* new right bound of left page */
- ItemPointerData rrightbound; /* new right bound of right page */
-
- /* FOLLOWS: new compressed posting lists of left and right page */
- char newdata[1];
-} ginxlogSplitDataLeaf;
-
-typedef struct
-{
- OffsetNumber separator;
- OffsetNumber nitem;
- ItemPointerData rightbound;
-
- /* FOLLOWS: array of PostingItems */
-} ginxlogSplitDataInternal;
-
/*
* Vacuum simply WAL-logs the whole page, when anything is modified. This
* functionally identical heap_newpage records, but is kept separate for
[parent: 9bb955c8286c]