diff options
Diffstat (limited to 'src/include/access/gist.h')
-rw-r--r-- | src/include/access/gist.h | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/src/include/access/gist.h b/src/include/access/gist.h index 72b77523cff..1d4bc1989de 100644 --- a/src/include/access/gist.h +++ b/src/include/access/gist.h @@ -7,7 +7,7 @@ * Portions Copyright (c) 1996-2003, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $PostgreSQL: pgsql/src/include/access/gist.h,v 1.39 2003/11/29 22:40:55 pgsql Exp $ + * $PostgreSQL: pgsql/src/include/access/gist.h,v 1.40 2004/03/30 15:45:33 teodor Exp $ * *------------------------------------------------------------------------- */ @@ -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 */ |