35#define NEXTVAL(x) ( (ltree*)( (char*)(x) + INTALIGN( VARSIZE(x) ) ) )
46 errmsg(
"array must be one-dimensional")));
50 errmsg(
"array must not contain nulls")));
146 errmsg(
"array must be one-dimensional")));
150 errmsg(
"array must not contain nulls")));
304 errmsg(
"array must be one-dimensional")));
308 errmsg(
"array must not contain nulls")));
Datum _ltxtq_exec(PG_FUNCTION_ARGS)
Datum _ltree_risparent(PG_FUNCTION_ARGS)
Datum _ltxtq_extract_exec(PG_FUNCTION_ARGS)
static bool array_iterator(ArrayType *la, PGCALL2 callback, void *param, ltree **found)
Datum _lca(PG_FUNCTION_ARGS)
Datum(* PGCALL2)(PG_FUNCTION_ARGS)
Datum _ltree_r_isparent(PG_FUNCTION_ARGS)
Datum _lt_q_rregex(PG_FUNCTION_ARGS)
Datum _ltree_isparent(PG_FUNCTION_ARGS)
Datum _ltree_extract_risparent(PG_FUNCTION_ARGS)
Datum _ltq_extract_regex(PG_FUNCTION_ARGS)
Datum _ltq_rregex(PG_FUNCTION_ARGS)
Datum _ltree_extract_isparent(PG_FUNCTION_ARGS)
Datum _ltree_r_risparent(PG_FUNCTION_ARGS)
Datum _ltxtq_rexec(PG_FUNCTION_ARGS)
Datum _ltq_regex(PG_FUNCTION_ARGS)
Datum _lt_q_regex(PG_FUNCTION_ARGS)
#define PG_GETARG_ARRAYTYPE_P(n)
bool array_contains_nulls(const ArrayType *array)
int ArrayGetNItems(int ndim, const int *dims)
int errcode(int sqlerrcode)
int errmsg(const char *fmt,...)
#define ereport(elevel,...)
#define palloc_array(type, count)
#define PG_FREE_IF_COPY(ptr, n)
#define DirectFunctionCall2(func, arg1, arg2)
#define PG_GETARG_DATUM(n)
#define PG_FUNCTION_INFO_V1(funcname)
#define PG_RETURN_DATUM(x)
#define PG_RETURN_POINTER(x)
#define PG_RETURN_BOOL(x)
Datum ltq_regex(PG_FUNCTION_ARGS)
#define PG_GETARG_LTXTQUERY_P(n)
PGDLLEXPORT Datum ltxtq_exec(PG_FUNCTION_ARGS)
ltree * lca_inner(ltree **a, int len)
#define PG_GETARG_LQUERY_P(n)
PGDLLEXPORT Datum ltree_risparent(PG_FUNCTION_ARGS)
PGDLLEXPORT Datum ltree_isparent(PG_FUNCTION_ARGS)
#define PG_GETARG_LTREE_P(n)
void pfree(void *pointer)
void * palloc0(Size size)
static bool DatumGetBool(Datum X)
static Datum PointerGetDatum(const void *X)
static void callback(struct sockaddr *addr, struct sockaddr *mask, void *unused)
static Size VARSIZE(const void *PTR)