190 &
tinfo, fcinfo->flinfo));
234 *result += (float) (
res / ((
double) (
res + diff)));
247 &
tinfo, fcinfo->flinfo));
static bool gbt_datelt(const void *a, const void *b, FmgrInfo *flinfo)
Datum gbt_date_fetch(PG_FUNCTION_ARGS)
Datum gbt_date_consistent(PG_FUNCTION_ARGS)
Datum gbt_date_penalty(PG_FUNCTION_ARGS)
Datum gbt_date_union(PG_FUNCTION_ARGS)
static bool gbt_datege(const void *a, const void *b, FmgrInfo *flinfo)
PG_FUNCTION_INFO_V1(gbt_date_compress)
static int gbt_datekey_cmp(const void *a, const void *b, FmgrInfo *flinfo)
static float8 gdb_date_dist(const void *a, const void *b, FmgrInfo *flinfo)
Datum gbt_date_distance(PG_FUNCTION_ARGS)
static const gbtree_ninfo tinfo
static bool gbt_dategt(const void *a, const void *b, FmgrInfo *flinfo)
Datum gbt_date_same(PG_FUNCTION_ARGS)
Datum gbt_date_compress(PG_FUNCTION_ARGS)
static bool gbt_datele(const void *a, const void *b, FmgrInfo *flinfo)
Datum date_dist(PG_FUNCTION_ARGS)
static bool gbt_dateeq(const void *a, const void *b, FmgrInfo *flinfo)
Datum gbt_date_picksplit(PG_FUNCTION_ARGS)
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)
Datum date_cmp(PG_FUNCTION_ARGS)
Datum date_le(PG_FUNCTION_ARGS)
Datum date_eq(PG_FUNCTION_ARGS)
Datum date_gt(PG_FUNCTION_ARGS)
Datum date_lt(PG_FUNCTION_ARGS)
Datum date_ge(PG_FUNCTION_ARGS)
Datum date_mi(PG_FUNCTION_ARGS)
static Datum DateADTGetDatum(DateADT X)
#define PG_GETARG_DATEADT(n)
static void PGresult * res
#define DirectFunctionCall2(func, arg1, arg2)
#define PG_RETURN_FLOAT8(x)
#define PG_GETARG_POINTER(n)
#define PG_GETARG_DATUM(n)
#define PG_GETARG_UINT16(n)
#define PG_RETURN_INT32(x)
#define PG_RETURN_POINTER(x)
#define PG_RETURN_BOOL(x)
static bool DatumGetBool(Datum X)
static Pointer DatumGetPointer(Datum X)
static int32 DatumGetInt32(Datum X)