9#include "utils/fmgrprotos.h"
48 return (*((
const Oid *)
a) == *((
const Oid *)
b));
173 &
tinfo, fcinfo->flinfo));
Datum gbt_enum_union(PG_FUNCTION_ARGS)
static bool gbt_enumeq(const void *a, const void *b, FmgrInfo *flinfo)
Datum gbt_enum_penalty(PG_FUNCTION_ARGS)
Datum gbt_enum_compress(PG_FUNCTION_ARGS)
Datum gbt_enum_fetch(PG_FUNCTION_ARGS)
static bool gbt_enumge(const void *a, const void *b, FmgrInfo *flinfo)
static bool gbt_enumlt(const void *a, const void *b, FmgrInfo *flinfo)
Datum gbt_enum_picksplit(PG_FUNCTION_ARGS)
static int gbt_enumkey_cmp(const void *a, const void *b, FmgrInfo *flinfo)
static const gbtree_ninfo tinfo
Datum gbt_enum_consistent(PG_FUNCTION_ARGS)
PG_FUNCTION_INFO_V1(gbt_enum_compress)
static bool gbt_enumgt(const void *a, const void *b, FmgrInfo *flinfo)
Datum gbt_enum_same(PG_FUNCTION_ARGS)
static bool gbt_enumle(const void *a, const void *b, FmgrInfo *flinfo)
GISTENTRY * gbt_num_compress(GISTENTRY *entry, const gbtree_ninfo *tinfo)
bool gbt_num_consistent(const GBT_NUMKEY_R *key, const void *query, const StrategyNumber *strategy, bool is_leaf, const gbtree_ninfo *tinfo, FmgrInfo *flinfo)
bool gbt_num_same(const GBT_NUMKEY *a, const GBT_NUMKEY *b, const gbtree_ninfo *tinfo, FmgrInfo *flinfo)
GISTENTRY * gbt_num_fetch(GISTENTRY *entry, const gbtree_ninfo *tinfo)
GIST_SPLITVEC * gbt_num_picksplit(const GistEntryVector *entryvec, GIST_SPLITVEC *v, const gbtree_ninfo *tinfo, FmgrInfo *flinfo)
void * gbt_num_union(GBT_NUMKEY *out, const GistEntryVector *entryvec, const gbtree_ninfo *tinfo, FmgrInfo *flinfo)
#define penalty_num(result, olower, oupper, nlower, nupper)
Datum enum_gt(PG_FUNCTION_ARGS)
Datum enum_lt(PG_FUNCTION_ARGS)
Datum enum_cmp(PG_FUNCTION_ARGS)
Datum enum_ge(PG_FUNCTION_ARGS)
Datum enum_le(PG_FUNCTION_ARGS)
Datum CallerFInfoFunctionCall2(PGFunction func, FmgrInfo *flinfo, Oid collation, Datum arg1, Datum arg2)
#define PG_GETARG_POINTER(n)
#define PG_GETARG_UINT16(n)
#define PG_RETURN_POINTER(x)
#define PG_RETURN_BOOL(x)
static bool DatumGetBool(Datum X)
static Datum ObjectIdGetDatum(Oid X)
static Pointer DatumGetPointer(Datum X)
static int32 DatumGetInt32(Datum X)