#include "postgres.h"
#include <ctype.h>
#include "catalog/pg_collation.h"
#include "ltree.h"
#include "miscadmin.h"
#include "utils/array.h"
#include "utils/formatting.h"
Go to the source code of this file.
Definition at line 22 of file lquery_op.c.
Definition at line 136 of file lquery_op.c.
References CHECK_FOR_INTERRUPTS, check_stack_depth(), checkCond(), checkLevel(), lquery_level::flag, lquery_level::high, LEVEL_NEXT, lquery_level::low, LQL_COUNT, LQL_NEXT, and lquery_level::numvar.
Referenced by checkCond(), and ltq_regex().
Definition at line 99 of file lquery_op.c.
References compare_subnode(), lquery_variant::flag, lquery_level::flag, i, ltree_level::len, lquery_variant::len, LQL_FIRST, LQL_NOT, ltree_strncasecmp(), LVAR_ANYEND, LVAR_INCASE, LVAR_NEXT, LVAR_SUBLEXEME, ltree_level::name, lquery_variant::name, lquery_level::numvar, and success.
Referenced by checkCond().
Definition at line 44 of file lquery_op.c.
References getlexeme(), ltree_level::len, len, and ltree_level::name.
Referenced by checkcondition_str(), and checkLevel().
Definition at line 25 of file lquery_op.c.
References len, pg_mblen(), start, and t_iseq.
Referenced by compare_subnode().
Definition at line 239 of file lquery_op.c.
References ARR_DATA_PTR, ARR_DIMS, ARR_NDIM, array_contains_nulls(), ArrayGetNItems(), DatumGetBool(), DirectFunctionCall2, ereport, errcode(), errmsg(), ERROR, ltq_regex(), NEXTVAL, PG_FREE_IF_COPY, PG_GETARG_ARRAYTYPE_P, PG_GETARG_LTREE_P, PG_RETURN_BOOL, PointerGetDatum(), and tree.
Referenced by lt_q_rregex(), and ltree_consistent().
Definition at line 275 of file lquery_op.c.
References DirectFunctionCall2, lt_q_regex(), PG_GETARG_DATUM, and PG_RETURN_DATUM.
Definition at line 215 of file lquery_op.c.
References checkCond(), LQUERY_FIRST, LTREE_FIRST, lquery::numlevel, PG_FREE_IF_COPY, PG_GETARG_LQUERY_P, PG_GETARG_LTREE_P, PG_RETURN_BOOL, and tree.
Referenced by _lt_q_regex(), _ltq_extract_regex(), _ltq_regex(), lt_q_regex(), ltq_rregex(), and ltree_consistent().
Definition at line 230 of file lquery_op.c.
References DirectFunctionCall2, ltq_regex(), PG_GETARG_DATUM, and PG_RETURN_DATUM.
Definition at line 78 of file lquery_op.c.
References a, b, pfree(), and str_tolower().
Referenced by checkcondition_str(), and checkLevel().