173 const double two64 = 18446744073709551616.0;
183 #ifndef WORDS_BIGENDIAN
194 return (
double) uu[0] + (double) uu[1] / two64;
213 penalty_num(result, olower, oupper, nlower, nupper);
223 &
tinfo, fcinfo->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)
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)
Datum gbt_uuid_consistent(PG_FUNCTION_ARGS)
Datum gbt_uuid_same(PG_FUNCTION_ARGS)
static bool gbt_uuidle(const void *a, const void *b, FmgrInfo *flinfo)
static bool gbt_uuideq(const void *a, const void *b, FmgrInfo *flinfo)
static bool gbt_uuidgt(const void *a, const void *b, FmgrInfo *flinfo)
Datum gbt_uuid_union(PG_FUNCTION_ARGS)
Datum gbt_uuid_penalty(PG_FUNCTION_ARGS)
static double uuid_2_double(const pg_uuid_t *u)
PG_FUNCTION_INFO_V1(gbt_uuid_compress)
Datum gbt_uuid_picksplit(PG_FUNCTION_ARGS)
static const gbtree_ninfo tinfo
Datum gbt_uuid_fetch(PG_FUNCTION_ARGS)
static int uuid_internal_cmp(const pg_uuid_t *arg1, const pg_uuid_t *arg2)
static bool gbt_uuidge(const void *a, const void *b, FmgrInfo *flinfo)
static bool gbt_uuidlt(const void *a, const void *b, FmgrInfo *flinfo)
Datum gbt_uuid_compress(PG_FUNCTION_ARGS)
static int gbt_uuidkey_cmp(const void *a, const void *b, FmgrInfo *flinfo)
static void PGresult * res
#define PG_GETARG_POINTER(n)
#define PG_GETARG_UINT16(n)
#define PG_RETURN_POINTER(x)
#define PG_RETURN_BOOL(x)
#define gistentryinit(e, k, r, pg, o, l)
static uint64 pg_bswap64(uint64 x)
static Datum PointerGetDatum(const void *X)
static Pointer DatumGetPointer(Datum X)
unsigned char data[UUID_LEN]
static pg_uuid_t * DatumGetUUIDP(Datum X)
#define PG_GETARG_UUID_P(X)