164 GIST_LEAF(entry), &tinfo, fcinfo->flinfo);
193 GIST_LEAF(entry), &tinfo, fcinfo->flinfo);
205 &tinfo, fcinfo->flinfo));
216 &tinfo, fcinfo->flinfo);
240 &tinfo, fcinfo->flinfo));
#define PG_RETURN_POINTER(x)
Datum gbt_text_same(PG_FUNCTION_ARGS)
GIST_SPLITVEC * gbt_var_picksplit(const GistEntryVector *entryvec, GIST_SPLITVEC *v, Oid collation, const gbtree_vinfo *tinfo, FmgrInfo *flinfo)
PG_FUNCTION_INFO_V1(gbt_text_compress)
Datum text_lt(PG_FUNCTION_ARGS)
#define PointerGetDatum(X)
#define PG_GETARG_DATUM(n)
static gbtree_vinfo tinfo
Datum gbt_text_consistent(PG_FUNCTION_ARGS)
bool gbt_var_consistent(GBT_VARKEY_R *key, const void *query, StrategyNumber strategy, Oid collation, bool is_leaf, const gbtree_vinfo *tinfo, FmgrInfo *flinfo)
Datum gbt_text_compress(PG_FUNCTION_ARGS)
bool gbt_var_same(Datum d1, Datum d2, Oid collation, const gbtree_vinfo *tinfo, FmgrInfo *flinfo)
#define PG_GETARG_POINTER(n)
#define DirectFunctionCall1(func, arg1)
static bool gbt_textlt(const void *a, const void *b, Oid collation, FmgrInfo *flinfo)
#define PG_GET_COLLATION()
static bool gbt_texteq(const void *a, const void *b, Oid collation, FmgrInfo *flinfo)
Datum rtrim1(PG_FUNCTION_ARGS)
Datum texteq(PG_FUNCTION_ARGS)
static bool gbt_textle(const void *a, const void *b, Oid collation, FmgrInfo *flinfo)
float * gbt_var_penalty(float *res, const GISTENTRY *o, const GISTENTRY *n, Oid collation, const gbtree_vinfo *tinfo, FmgrInfo *flinfo)
Datum text_gt(PG_FUNCTION_ARGS)
Datum text_le(PG_FUNCTION_ARGS)
Datum gbt_text_picksplit(PG_FUNCTION_ARGS)
Datum gbt_text_union(PG_FUNCTION_ARGS)
#define PG_RETURN_BOOL(x)
GBT_VARKEY_R gbt_var_key_readable(const GBT_VARKEY *k)
Datum text_ge(PG_FUNCTION_ARGS)
GISTENTRY * gbt_var_compress(GISTENTRY *entry, const gbtree_vinfo *tinfo)
Datum gbt_bpchar_consistent(PG_FUNCTION_ARGS)
#define gistentryinit(e, k, r, pg, o, l)
Datum gbt_text_penalty(PG_FUNCTION_ARGS)
int pg_database_encoding_max_length(void)
#define PG_GETARG_UINT16(n)
#define DatumGetPointer(X)
Datum bttextcmp(PG_FUNCTION_ARGS)
static int32 gbt_textcmp(const void *a, const void *b, Oid collation, FmgrInfo *flinfo)
Datum gbt_bpchar_compress(PG_FUNCTION_ARGS)
Datum DirectFunctionCall2Coll(PGFunction func, Oid collation, Datum arg1, Datum arg2)
static bool gbt_textge(const void *a, const void *b, Oid collation, FmgrInfo *flinfo)
GBT_VARKEY * gbt_var_union(const GistEntryVector *entryvec, int32 *size, Oid collation, const gbtree_vinfo *tinfo, FmgrInfo *flinfo)
static bool gbt_textgt(const void *a, const void *b, Oid collation, FmgrInfo *flinfo)