|
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 const gbtree_vinfo | tinfo |
| static const gbtree_vinfo | bptinfo |
| Datum gbt_bpchar_compress | ( | PG_FUNCTION_ARGS | ) |
Definition at line 185 of file btree_text.c.
References gbt_text_compress().
| Datum gbt_bpchar_consistent | ( | PG_FUNCTION_ARGS | ) |
Definition at line 215 of file btree_text.c.
References bptinfo, DatumGetPointer(), DatumGetTextP, gbt_var_consistent(), gbt_var_key_readable(), GIST_LEAF, GISTENTRY::key, PG_GET_COLLATION, PG_GETARG_DATUM, PG_GETARG_OID, PG_GETARG_POINTER, PG_GETARG_UINT16, and PG_RETURN_BOOL.
| Datum gbt_bpchar_sortsupport | ( | PG_FUNCTION_ARGS | ) |
Definition at line 335 of file btree_text.c.
References SortSupportData::comparator, fb(), gbt_bpchar_ssup_cmp(), PG_GETARG_POINTER, PG_RETURN_VOID, and SortSupportData::ssup_extra.
|
static |
Definition at line 313 of file btree_text.c.
References bpcharcmp(), DatumGetInt32(), DirectFunctionCall2Coll(), fb(), GBT_FREE_IF_COPY, gbt_var_key_readable(), PG_DETOAST_DATUM, PointerGetDatum, result, SortSupportData::ssup_collation, x, and y.
Referenced by gbt_bpchar_sortsupport().
|
static |
Definition at line 150 of file btree_text.c.
References a, b, bpcharcmp(), DatumGetInt32(), DirectFunctionCall2Coll(), and PointerGetDatum.
|
static |
Definition at line 123 of file btree_text.c.
References a, b, bpchareq(), DatumGetBool(), DirectFunctionCall2Coll(), and PointerGetDatum.
|
static |
Definition at line 114 of file btree_text.c.
References a, b, bpcharge(), DatumGetBool(), DirectFunctionCall2Coll(), and PointerGetDatum.
|
static |
Definition at line 105 of file btree_text.c.
References a, b, bpchargt(), DatumGetBool(), DirectFunctionCall2Coll(), and PointerGetDatum.
|
static |
Definition at line 132 of file btree_text.c.
References a, b, bpcharle(), DatumGetBool(), DirectFunctionCall2Coll(), and PointerGetDatum.
|
static |
Definition at line 141 of file btree_text.c.
References a, b, bpcharlt(), DatumGetBool(), DirectFunctionCall2Coll(), and PointerGetDatum.
| Datum gbt_text_compress | ( | PG_FUNCTION_ARGS | ) |
Definition at line 177 of file btree_text.c.
References gbt_var_compress(), PG_GETARG_POINTER, PG_RETURN_POINTER, and tinfo.
Referenced by gbt_bpchar_compress().
| Datum gbt_text_consistent | ( | PG_FUNCTION_ARGS | ) |
Definition at line 192 of file btree_text.c.
References DatumGetPointer(), DatumGetTextP, gbt_var_consistent(), gbt_var_key_readable(), GIST_LEAF, GISTENTRY::key, PG_GET_COLLATION, PG_GETARG_DATUM, PG_GETARG_OID, PG_GETARG_POINTER, PG_GETARG_UINT16, PG_RETURN_BOOL, and tinfo.
| Datum gbt_text_penalty | ( | PG_FUNCTION_ARGS | ) |
Definition at line 269 of file btree_text.c.
References fb(), gbt_var_penalty(), PG_GET_COLLATION, PG_GETARG_POINTER, PG_RETURN_POINTER, result, and tinfo.
| Datum gbt_text_picksplit | ( | PG_FUNCTION_ARGS | ) |
Definition at line 247 of file btree_text.c.
References fb(), gbt_var_picksplit(), PG_GET_COLLATION, PG_GETARG_POINTER, PG_RETURN_POINTER, and tinfo.
| Datum gbt_text_same | ( | PG_FUNCTION_ARGS | ) |
Definition at line 258 of file btree_text.c.
References gbt_var_same(), PG_GET_COLLATION, PG_GETARG_DATUM, PG_GETARG_POINTER, PG_RETURN_POINTER, result, and tinfo.
| Datum gbt_text_sortsupport | ( | PG_FUNCTION_ARGS | ) |
Definition at line 302 of file btree_text.c.
References SortSupportData::comparator, fb(), gbt_text_ssup_cmp(), PG_GETARG_POINTER, PG_RETURN_VOID, and SortSupportData::ssup_extra.
|
static |
Definition at line 280 of file btree_text.c.
References bttextcmp(), DatumGetInt32(), DirectFunctionCall2Coll(), fb(), GBT_FREE_IF_COPY, gbt_var_key_readable(), PG_DETOAST_DATUM, PointerGetDatum, result, SortSupportData::ssup_collation, x, and y.
Referenced by gbt_text_sortsupport().
| Datum gbt_text_union | ( | PG_FUNCTION_ARGS | ) |
Definition at line 237 of file btree_text.c.
References fb(), gbt_var_union(), PG_GET_COLLATION, PG_GETARG_POINTER, PG_RETURN_POINTER, and tinfo.
|
static |
Definition at line 75 of file btree_text.c.
References a, b, bttextcmp(), DatumGetInt32(), DirectFunctionCall2Coll(), and PointerGetDatum.
Definition at line 48 of file btree_text.c.
References a, b, DatumGetBool(), DirectFunctionCall2Coll(), PointerGetDatum, and texteq().
Definition at line 39 of file btree_text.c.
References a, b, DatumGetBool(), DirectFunctionCall2Coll(), PointerGetDatum, and text_ge().
Definition at line 30 of file btree_text.c.
References a, b, DatumGetBool(), DirectFunctionCall2Coll(), PointerGetDatum, and text_gt().
Definition at line 57 of file btree_text.c.
References a, b, DatumGetBool(), DirectFunctionCall2Coll(), PointerGetDatum, and text_le().
Definition at line 66 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 158 of file btree_text.c.
Referenced by gbt_bpchar_consistent().
|
static |
Definition at line 89 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().