PostgreSQL Source Code
git master
|
#include "postgres.h"
#include "catalog/pg_collation.h"
#include "common/hashfn.h"
#include "utils/builtins.h"
#include "utils/formatting.h"
#include "utils/varlena.h"
#include "varatt.h"
Go to the source code of this file.
Variables | |
PG_MODULE_MAGIC | |
Datum citext_cmp | ( | PG_FUNCTION_ARGS | ) |
Definition at line 107 of file citext.c.
References citextcmp(), PG_FREE_IF_COPY, PG_GET_COLLATION, PG_GETARG_TEXT_PP, and PG_RETURN_INT32.
Datum citext_eq | ( | PG_FUNCTION_ARGS | ) |
Definition at line 186 of file citext.c.
References pfree(), PG_FREE_IF_COPY, PG_GETARG_TEXT_PP, PG_RETURN_BOOL, str_tolower(), VARDATA_ANY, and VARSIZE_ANY_EXHDR.
Datum citext_ge | ( | PG_FUNCTION_ARGS | ) |
Definition at line 297 of file citext.c.
References citextcmp(), PG_FREE_IF_COPY, PG_GET_COLLATION, PG_GETARG_TEXT_PP, and PG_RETURN_BOOL.
Datum citext_gt | ( | PG_FUNCTION_ARGS | ) |
Definition at line 280 of file citext.c.
References citextcmp(), PG_FREE_IF_COPY, PG_GET_COLLATION, PG_GETARG_TEXT_PP, and PG_RETURN_BOOL.
Datum citext_hash | ( | PG_FUNCTION_ARGS | ) |
Definition at line 141 of file citext.c.
References hash_any(), pfree(), PG_FREE_IF_COPY, PG_GETARG_TEXT_PP, PG_RETURN_DATUM, str, str_tolower(), VARDATA_ANY, and VARSIZE_ANY_EXHDR.
Datum citext_hash_extended | ( | PG_FUNCTION_ARGS | ) |
Definition at line 160 of file citext.c.
References hash_any_extended(), pfree(), PG_FREE_IF_COPY, PG_GETARG_INT64, PG_GETARG_TEXT_PP, PG_RETURN_DATUM, str, str_tolower(), VARDATA_ANY, and VARSIZE_ANY_EXHDR.
Datum citext_larger | ( | PG_FUNCTION_ARGS | ) |
Definition at line 401 of file citext.c.
References citextcmp(), PG_GET_COLLATION, PG_GETARG_TEXT_PP, and PG_RETURN_TEXT_P.
Datum citext_le | ( | PG_FUNCTION_ARGS | ) |
Definition at line 263 of file citext.c.
References citextcmp(), PG_FREE_IF_COPY, PG_GET_COLLATION, PG_GETARG_TEXT_PP, and PG_RETURN_BOOL.
Datum citext_lt | ( | PG_FUNCTION_ARGS | ) |
Definition at line 246 of file citext.c.
References citextcmp(), PG_FREE_IF_COPY, PG_GET_COLLATION, PG_GETARG_TEXT_PP, and PG_RETURN_BOOL.
Datum citext_ne | ( | PG_FUNCTION_ARGS | ) |
Definition at line 216 of file citext.c.
References pfree(), PG_FREE_IF_COPY, PG_GETARG_TEXT_PP, PG_RETURN_BOOL, str_tolower(), VARDATA_ANY, and VARSIZE_ANY_EXHDR.
Datum citext_pattern_cmp | ( | PG_FUNCTION_ARGS | ) |
Definition at line 124 of file citext.c.
References internal_citext_pattern_cmp(), PG_FREE_IF_COPY, PG_GET_COLLATION, PG_GETARG_TEXT_PP, and PG_RETURN_INT32.
Datum citext_pattern_ge | ( | PG_FUNCTION_ARGS | ) |
Definition at line 365 of file citext.c.
References internal_citext_pattern_cmp(), PG_FREE_IF_COPY, PG_GET_COLLATION, PG_GETARG_TEXT_PP, and PG_RETURN_BOOL.
Datum citext_pattern_gt | ( | PG_FUNCTION_ARGS | ) |
Definition at line 348 of file citext.c.
References internal_citext_pattern_cmp(), PG_FREE_IF_COPY, PG_GET_COLLATION, PG_GETARG_TEXT_PP, and PG_RETURN_BOOL.
Datum citext_pattern_le | ( | PG_FUNCTION_ARGS | ) |
Definition at line 331 of file citext.c.
References internal_citext_pattern_cmp(), PG_FREE_IF_COPY, PG_GET_COLLATION, PG_GETARG_TEXT_PP, and PG_RETURN_BOOL.
Datum citext_pattern_lt | ( | PG_FUNCTION_ARGS | ) |
Definition at line 314 of file citext.c.
References internal_citext_pattern_cmp(), PG_FREE_IF_COPY, PG_GET_COLLATION, PG_GETARG_TEXT_PP, and PG_RETURN_BOOL.
Datum citext_smaller | ( | PG_FUNCTION_ARGS | ) |
Definition at line 388 of file citext.c.
References citextcmp(), PG_GET_COLLATION, PG_GETARG_TEXT_PP, and PG_RETURN_TEXT_P.
Definition at line 36 of file citext.c.
References collid, pfree(), str_tolower(), VARDATA_ANY, VARSIZE_ANY_EXHDR, and varstr_cmp().
Referenced by citext_cmp(), citext_ge(), citext_gt(), citext_larger(), citext_le(), citext_lt(), and citext_smaller().
Definition at line 69 of file citext.c.
References Min, pfree(), str_tolower(), VARDATA_ANY, and VARSIZE_ANY_EXHDR.
Referenced by citext_pattern_cmp(), citext_pattern_ge(), citext_pattern_gt(), citext_pattern_le(), and citext_pattern_lt().
PG_FUNCTION_INFO_V1 | ( | citext_cmp | ) |
PG_FUNCTION_INFO_V1 | ( | citext_eq | ) |
PG_FUNCTION_INFO_V1 | ( | citext_ge | ) |
PG_FUNCTION_INFO_V1 | ( | citext_gt | ) |
PG_FUNCTION_INFO_V1 | ( | citext_hash | ) |
PG_FUNCTION_INFO_V1 | ( | citext_hash_extended | ) |
PG_FUNCTION_INFO_V1 | ( | citext_larger | ) |
PG_FUNCTION_INFO_V1 | ( | citext_le | ) |
PG_FUNCTION_INFO_V1 | ( | citext_lt | ) |
PG_FUNCTION_INFO_V1 | ( | citext_ne | ) |
PG_FUNCTION_INFO_V1 | ( | citext_pattern_cmp | ) |
PG_FUNCTION_INFO_V1 | ( | citext_pattern_ge | ) |
PG_FUNCTION_INFO_V1 | ( | citext_pattern_gt | ) |
PG_FUNCTION_INFO_V1 | ( | citext_pattern_le | ) |
PG_FUNCTION_INFO_V1 | ( | citext_pattern_lt | ) |
PG_FUNCTION_INFO_V1 | ( | citext_smaller | ) |