Skip to content

Commit 634618e

Browse files
committed
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
1 parent 9bb955c commit 634618e

File tree

1 file changed

+0
-28
lines changed

1 file changed

+0
-28
lines changed

src/include/access/gin_private.h

Lines changed: 0 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -511,34 +511,6 @@ typedef struct ginxlogSplit
511511
#define GIN_INSERT_ISLEAF 0x02 /* .. */
512512
#define GIN_SPLIT_ROOT 0x04 /* only for split records */
513513

514-
typedef struct
515-
{
516-
OffsetNumber separator;
517-
OffsetNumber nitem;
518-
519-
/* FOLLOWS: IndexTuples */
520-
} ginxlogSplitEntry;
521-
522-
typedef struct
523-
{
524-
uint16 lsize;
525-
uint16 rsize;
526-
ItemPointerData lrightbound; /* new right bound of left page */
527-
ItemPointerData rrightbound; /* new right bound of right page */
528-
529-
/* FOLLOWS: new compressed posting lists of left and right page */
530-
char newdata[1];
531-
} ginxlogSplitDataLeaf;
532-
533-
typedef struct
534-
{
535-
OffsetNumber separator;
536-
OffsetNumber nitem;
537-
ItemPointerData rightbound;
538-
539-
/* FOLLOWS: array of PostingItems */
540-
} ginxlogSplitDataInternal;
541-
542514
/*
543515
* Vacuum simply WAL-logs the whole page, when anything is modified. This
544516
* functionally identical heap_newpage records, but is kept separate for

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