PostgreSQL Source Code
git master
|
Go to the source code of this file.
Data Structures | |
struct | CHKVAL |
Functions | |
PG_FUNCTION_INFO_V1 (ltxtq_exec) | |
PG_FUNCTION_INFO_V1 (ltxtq_rexec) | |
bool | ltree_execute (ITEM *curitem, void *checkval, bool calcnot, bool(*chkcond)(void *checkval, ITEM *val)) |
static bool | checkcondition_str (void *checkval, ITEM *val) |
Datum | ltxtq_exec (PG_FUNCTION_ARGS) |
Datum | ltxtq_rexec (PG_FUNCTION_ARGS) |
Definition at line 56 of file ltxtquery_op.c.
References compare_subnode(), ltree_level::len, LEVEL_NEXT, LTREE_FIRST, ltree_strncasecmp(), LVAR_ANYEND, LVAR_INCASE, LVAR_SUBLEXEME, ltree_level::name, and val.
Referenced by ltxtq_exec().
bool ltree_execute | ( | ITEM * | curitem, |
void * | checkval, | ||
bool | calcnot, | ||
bool(*)(void *checkval, ITEM *val) | chkcond | ||
) |
Definition at line 20 of file ltxtquery_op.c.
References check_stack_depth(), ITEM::left, ltree_execute(), ITEM::type, ITEM::val, and VAL.
Referenced by gist_qtxt(), ltree_execute(), and ltxtq_exec().
Datum ltxtq_exec | ( | PG_FUNCTION_ARGS | ) |
Definition at line 84 of file ltxtquery_op.c.
References checkcondition_str(), GETOPERAND, GETQUERY, ltree_execute(), CHKVAL::node, CHKVAL::operand, PG_FREE_IF_COPY, PG_GETARG_LTREE_P, PG_GETARG_LTXTQUERY_P, PG_RETURN_BOOL, and val.
Referenced by _ltxtq_exec(), _ltxtq_extract_exec(), ltree_consistent(), and ltxtq_rexec().
Datum ltxtq_rexec | ( | PG_FUNCTION_ARGS | ) |
Definition at line 105 of file ltxtquery_op.c.
References DirectFunctionCall2, ltxtq_exec(), PG_GETARG_DATUM, and PG_RETURN_DATUM.
PG_FUNCTION_INFO_V1 | ( | ltxtq_exec | ) |
PG_FUNCTION_INFO_V1 | ( | ltxtq_rexec | ) |