PostgreSQL Source Code git master
|
#include "postgres.h"
#include "btree_gist.h"
#include "btree_utils_var.h"
#include "mb/pg_wchar.h"
#include "utils/fmgrprotos.h"
#include "utils/sortsupport.h"
Go to the source code of this file.
Variables | |
static gbtree_vinfo | tinfo |
static gbtree_vinfo | bptinfo |
Datum gbt_bpchar_compress | ( | PG_FUNCTION_ARGS | ) |
Definition at line 184 of file btree_text.c.
References gbt_text_compress().
Datum gbt_bpchar_consistent | ( | PG_FUNCTION_ARGS | ) |
Definition at line 218 of file btree_text.c.
References bptinfo, DatumGetPointer(), DatumGetTextP, gbtree_vinfo::eml, gbt_var_consistent(), gbt_var_key_readable(), GIST_LEAF, GISTENTRY::key, sort-test::key, pg_database_encoding_max_length(), PG_GET_COLLATION, PG_GETARG_DATUM, PG_GETARG_POINTER, PG_GETARG_UINT16, and PG_RETURN_BOOL.
Datum gbt_bpchar_sortsupport | ( | PG_FUNCTION_ARGS | ) |
Definition at line 342 of file btree_text.c.
References SortSupportData::comparator, gbt_bpchar_ssup_cmp(), PG_GETARG_POINTER, PG_RETURN_VOID, and SortSupportData::ssup_extra.
|
static |
Definition at line 320 of file btree_text.c.
References bpcharcmp(), DatumGetInt32(), DirectFunctionCall2Coll(), GBT_FREE_IF_COPY, gbt_var_key_readable(), GBT_VARKEY_R::lower, PG_DETOAST_DATUM, PointerGetDatum(), SortSupportData::ssup_collation, x, and y.
Referenced by gbt_bpchar_sortsupport().
|
static |
Definition at line 143 of file btree_text.c.
References a, b, bpcharcmp(), DatumGetInt32(), DirectFunctionCall2Coll(), and PointerGetDatum().
|
static |
Definition at line 116 of file btree_text.c.
References a, b, bpchareq(), DatumGetBool(), DirectFunctionCall2Coll(), and PointerGetDatum().
|
static |
Definition at line 107 of file btree_text.c.
References a, b, bpcharge(), DatumGetBool(), DirectFunctionCall2Coll(), and PointerGetDatum().
|
static |
Definition at line 98 of file btree_text.c.
References a, b, bpchargt(), DatumGetBool(), DirectFunctionCall2Coll(), and PointerGetDatum().
|
static |
Definition at line 125 of file btree_text.c.
References a, b, bpcharle(), DatumGetBool(), DirectFunctionCall2Coll(), and PointerGetDatum().
|
static |
Definition at line 134 of file btree_text.c.
References a, b, bpcharlt(), DatumGetBool(), DirectFunctionCall2Coll(), and PointerGetDatum().
Datum gbt_text_compress | ( | PG_FUNCTION_ARGS | ) |
Definition at line 171 of file btree_text.c.
References gbtree_vinfo::eml, gbt_var_compress(), pg_database_encoding_max_length(), PG_GETARG_POINTER, PG_RETURN_POINTER, and tinfo.
Referenced by gbt_bpchar_compress().
Datum gbt_text_consistent | ( | PG_FUNCTION_ARGS | ) |
Definition at line 191 of file btree_text.c.
References DatumGetPointer(), DatumGetTextP, gbtree_vinfo::eml, gbt_var_consistent(), gbt_var_key_readable(), GIST_LEAF, GISTENTRY::key, sort-test::key, pg_database_encoding_max_length(), PG_GET_COLLATION, PG_GETARG_DATUM, PG_GETARG_POINTER, PG_GETARG_UINT16, PG_RETURN_BOOL, and tinfo.
Datum gbt_text_penalty | ( | PG_FUNCTION_ARGS | ) |
Definition at line 276 of file btree_text.c.
References gbt_var_penalty(), PG_GET_COLLATION, PG_GETARG_POINTER, PG_RETURN_POINTER, and tinfo.
Datum gbt_text_picksplit | ( | PG_FUNCTION_ARGS | ) |
Definition at line 254 of file btree_text.c.
References gbt_var_picksplit(), PG_GET_COLLATION, PG_GETARG_POINTER, PG_RETURN_POINTER, and tinfo.
Datum gbt_text_same | ( | PG_FUNCTION_ARGS | ) |
Definition at line 265 of file btree_text.c.
References gbt_var_same(), PG_GET_COLLATION, PG_GETARG_DATUM, PG_GETARG_POINTER, PG_RETURN_POINTER, and tinfo.
Datum gbt_text_sortsupport | ( | PG_FUNCTION_ARGS | ) |
Definition at line 309 of file btree_text.c.
References SortSupportData::comparator, gbt_text_ssup_cmp(), PG_GETARG_POINTER, PG_RETURN_VOID, and SortSupportData::ssup_extra.
|
static |
Definition at line 287 of file btree_text.c.
References bttextcmp(), DatumGetInt32(), DirectFunctionCall2Coll(), GBT_FREE_IF_COPY, gbt_var_key_readable(), GBT_VARKEY_R::lower, PG_DETOAST_DATUM, PointerGetDatum(), SortSupportData::ssup_collation, x, and y.
Referenced by gbt_text_sortsupport().
Datum gbt_text_union | ( | PG_FUNCTION_ARGS | ) |
Definition at line 244 of file btree_text.c.
References gbt_var_union(), PG_GET_COLLATION, PG_GETARG_POINTER, PG_RETURN_POINTER, and tinfo.
|
static |
Definition at line 73 of file btree_text.c.
References a, b, bttextcmp(), DatumGetInt32(), DirectFunctionCall2Coll(), and PointerGetDatum().
Definition at line 46 of file btree_text.c.
References a, b, DatumGetBool(), DirectFunctionCall2Coll(), PointerGetDatum(), and texteq().
Definition at line 37 of file btree_text.c.
References a, b, DatumGetBool(), DirectFunctionCall2Coll(), PointerGetDatum(), and text_ge().
Definition at line 28 of file btree_text.c.
References a, b, DatumGetBool(), DirectFunctionCall2Coll(), PointerGetDatum(), and text_gt().
Definition at line 55 of file btree_text.c.
References a, b, DatumGetBool(), DirectFunctionCall2Coll(), PointerGetDatum(), and text_le().
Definition at line 64 of file btree_text.c.
References a, b, DatumGetBool(), DirectFunctionCall2Coll(), PointerGetDatum(), and text_lt().
PG_FUNCTION_INFO_V1 | ( | gbt_bpchar_compress | ) |
PG_FUNCTION_INFO_V1 | ( | gbt_bpchar_consistent | ) |
PG_FUNCTION_INFO_V1 | ( | gbt_bpchar_sortsupport | ) |
PG_FUNCTION_INFO_V1 | ( | gbt_text_compress | ) |
PG_FUNCTION_INFO_V1 | ( | gbt_text_consistent | ) |
PG_FUNCTION_INFO_V1 | ( | gbt_text_penalty | ) |
PG_FUNCTION_INFO_V1 | ( | gbt_text_picksplit | ) |
PG_FUNCTION_INFO_V1 | ( | gbt_text_same | ) |
PG_FUNCTION_INFO_V1 | ( | gbt_text_sortsupport | ) |
PG_FUNCTION_INFO_V1 | ( | gbt_text_union | ) |
|
static |
Definition at line 151 of file btree_text.c.
Referenced by gbt_bpchar_consistent().
|
static |
Definition at line 81 of file btree_text.c.
Referenced by gbt_text_compress(), gbt_text_consistent(), gbt_text_penalty(), gbt_text_picksplit(), gbt_text_same(), and gbt_text_union().