diff options
Diffstat (limited to 'src/include/access/gist.h')
-rw-r--r-- | src/include/access/gist.h | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/src/include/access/gist.h b/src/include/access/gist.h index 5c04951aa4a..d6519cd132c 100644 --- a/src/include/access/gist.h +++ b/src/include/access/gist.h @@ -52,7 +52,7 @@ typedef struct GISTPageOpaqueData { uint32 flags; -} GISTPageOpaqueData; +} GISTPageOpaqueData; typedef GISTPageOpaqueData *GISTPageOpaque; @@ -67,7 +67,7 @@ typedef struct GISTSTACK struct GISTSTACK *gs_parent; OffsetNumber gs_child; BlockNumber gs_blk; -} GISTSTACK; +} GISTSTACK; typedef struct GISTSTATE { @@ -80,7 +80,7 @@ typedef struct GISTSTATE func_ptr equalFn; bool haskeytype; bool keytypbyval; -} GISTSTATE; +} GISTSTATE; /* @@ -94,7 +94,7 @@ typedef struct GISTScanOpaqueData struct GISTSTACK *s_markstk; uint16 s_flags; struct GISTSTATE *giststate; -} GISTScanOpaqueData; +} GISTScanOpaqueData; typedef GISTScanOpaqueData *GISTScanOpaque; @@ -134,7 +134,7 @@ typedef struct GIST_SPLITVEC OffsetNumber *spl_right; /* array of entries that go right */ int spl_nright; /* size of the array */ char *spl_rdatum; /* Union of keys in spl_right */ -} GIST_SPLITVEC; +} GIST_SPLITVEC; /* ** An entry on a GiST node. Contains the key (pred), as well as @@ -150,7 +150,7 @@ typedef struct GISTENTRY OffsetNumber offset; int bytes; bool leafkey; -} GISTENTRY; +} GISTENTRY; /* ** macro to initialize a GISTENTRY @@ -172,7 +172,7 @@ typedef struct txtrange int32 vl_len; int32 flag; char bytes[2]; -} TXTRANGE; +} TXTRANGE; typedef struct intrange { @@ -184,23 +184,23 @@ typedef struct intrange * upper is positive infinity. 0 means that both are numbers. */ int flag; -} INTRANGE; +} INTRANGE; extern void gistbuild(Relation heap, Relation index, int natts, AttrNumber *attnum, IndexStrategy istrat, - uint16 pint, Datum * params, - FuncIndexInfo * finfo, - PredInfo * predInfo); -extern InsertIndexResult -gistinsert(Relation r, Datum * datum, + uint16 pint, Datum *params, + FuncIndexInfo *finfo, + PredInfo *predInfo); +extern InsertIndexResult +gistinsert(Relation r, Datum *datum, char *nulls, ItemPointer ht_ctid, Relation heapRel); extern void _gistdump(Relation r); -extern void gistfreestack(GISTSTACK * s); -extern void initGISTstate(GISTSTATE * giststate, Relation index); +extern void gistfreestack(GISTSTACK *s); +extern void initGISTstate(GISTSTATE *giststate, Relation index); extern void -gistdentryinit(GISTSTATE * giststate, GISTENTRY * e, char *pr, +gistdentryinit(GISTSTATE *giststate, GISTENTRY *e, char *pr, Relation r, Page pg, OffsetNumber o, int b, bool l); extern StrategyNumber RelationGetGISTStrategy(Relation, AttrNumber, RegProcedure); |