diff options
Diffstat (limited to 'src/include/access/gist.h')
-rw-r--r-- | src/include/access/gist.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/include/access/gist.h b/src/include/access/gist.h index 926089d011..a18c196992 100644 --- a/src/include/access/gist.h +++ b/src/include/access/gist.h @@ -157,6 +157,19 @@ typedef struct GISTENTRY bool leafkey; } GISTENTRY; + +/* + * Vector of GISTENTRY struct's, user-defined + * methods union andpick split takes it as one of args + */ + +typedef struct { + int32 n; /* number of elements */ + GISTENTRY vector[1]; +} GistEntryVector; + +#define GEVHDRSZ ( offsetof(GistEntryVector, vector[0]) ) + /* * macro to initialize a GISTENTRY */ |