31 return (*((
const Oid *)
a) > *((
const Oid *)
b));
36 return (*((
const Oid *)
a) >= *((
const Oid *)
b));
41 return (*((
const Oid *)
a) == *((
const Oid *)
b));
46 return (*((
const Oid *)
a) <= *((
const Oid *)
b));
51 return (*((
const Oid *)
a) < *((
const Oid *)
b));
173 &
tinfo, fcinfo->flinfo));
205 &
tinfo, fcinfo->flinfo));
static bool gbt_oidlt(const void *a, const void *b, FmgrInfo *flinfo)
Datum gbt_oid_penalty(PG_FUNCTION_ARGS)
Datum oid_dist(PG_FUNCTION_ARGS)
Datum gbt_oid_picksplit(PG_FUNCTION_ARGS)
static bool gbt_oidle(const void *a, const void *b, FmgrInfo *flinfo)
static bool gbt_oideq(const void *a, const void *b, FmgrInfo *flinfo)
static bool gbt_oidge(const void *a, const void *b, FmgrInfo *flinfo)
Datum gbt_oid_compress(PG_FUNCTION_ARGS)
static const gbtree_ninfo tinfo
Datum gbt_oid_same(PG_FUNCTION_ARGS)
Datum gbt_oid_consistent(PG_FUNCTION_ARGS)
Datum gbt_oid_union(PG_FUNCTION_ARGS)
static int gbt_oidkey_cmp(const void *a, const void *b, FmgrInfo *flinfo)
static bool gbt_oidgt(const void *a, const void *b, FmgrInfo *flinfo)
PG_FUNCTION_INFO_V1(gbt_oid_compress)
Datum gbt_oid_fetch(PG_FUNCTION_ARGS)
Datum gbt_oid_distance(PG_FUNCTION_ARGS)
static float8 gbt_oid_dist(const void *a, const void *b, FmgrInfo *flinfo)
float8 gbt_num_distance(const GBT_NUMKEY_R *key, const void *query, bool is_leaf, const gbtree_ninfo *tinfo, FmgrInfo *flinfo)
GISTENTRY * gbt_num_fetch(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_compress(GISTENTRY *entry, const gbtree_ninfo *tinfo)
void * gbt_num_union(GBT_NUMKEY *out, const GistEntryVector *entryvec, const gbtree_ninfo *tinfo, FmgrInfo *flinfo)
GIST_SPLITVEC * gbt_num_picksplit(const GistEntryVector *entryvec, GIST_SPLITVEC *v, const gbtree_ninfo *tinfo, FmgrInfo *flinfo)
#define penalty_num(result, olower, oupper, nlower, nupper)
static void PGresult * res
#define PG_RETURN_FLOAT8(x)
#define PG_GETARG_POINTER(n)
#define PG_GETARG_UINT16(n)
#define PG_RETURN_POINTER(x)
#define PG_RETURN_BOOL(x)
Datum lower(PG_FUNCTION_ARGS)
Datum upper(PG_FUNCTION_ARGS)
static Pointer DatumGetPointer(Datum X)