PostgreSQL Source Code
git master
|
Go to the source code of this file.
Data Structures | |
struct | NODE |
struct | WORKSTATE |
struct | CHKVAL |
struct | GinChkVal |
struct | INFIX |
Macros | |
#define | WAITOPERAND 1 |
#define | WAITENDOPERAND 2 |
#define | WAITOPERATOR 3 |
#define | STACKDEPTH 16 |
#define | RESIZEBUF(inf, addsize) |
Typedefs | |
typedef struct NODE | NODE |
#define RESIZEBUF | ( | inf, | |
addsize | |||
) |
Definition at line 558 of file _int_bool.c.
#define STACKDEPTH 16 |
Definition at line 148 of file _int_bool.c.
#define WAITENDOPERAND 2 |
Definition at line 19 of file _int_bool.c.
#define WAITOPERAND 1 |
Definition at line 18 of file _int_bool.c.
#define WAITOPERATOR 3 |
Definition at line 20 of file _int_bool.c.
Datum boolop | ( | PG_FUNCTION_ARGS | ) |
Definition at line 418 of file _int_bool.c.
References CHKVAL::arrb, CHKVAL::arre, ARRNELEMS, ARRPTR, CHECKARRVALID, checkcondition_arr(), execute(), GETQUERY, pfree(), PG_FREE_IF_COPY, PG_GETARG_ARRAYTYPE_P_COPY, PG_GETARG_QUERYTYPE_P, PG_RETURN_BOOL, PREPAREARR, QUERYTYPE::size, and val.
Referenced by is_andclause(), is_notclause(), is_orclause(), makeBoolExpr(), and rboolop().
Datum bqarr_in | ( | PG_FUNCTION_ARGS | ) |
Definition at line 476 of file _int_bool.c.
References appendStringInfo(), buf, COMPUTESIZE, StringInfoData::data, DEBUG3, elog(), ereturn, ERR, errcode(), errmsg(), findoprnd(), GETQUERY, i, initStringInfo(), makepol(), state::next, OPR, palloc(), pfree(), PG_GETARG_POINTER, PG_RETURN_NULL, PG_RETURN_POINTER, QUERYTYPEMAXITEMS, SET_VARSIZE, QUERYTYPE::size, ITEM::type, generate_unaccent_rules::type, ITEM::val, val, and WAITOPERAND.
Datum bqarr_out | ( | PG_FUNCTION_ARGS | ) |
Definition at line 643 of file _int_bool.c.
References INFIX::buf, INFIX::buflen, INFIX::cur, INFIX::curpol, ereport, errcode(), errmsg(), ERROR, GETQUERY, infix(), palloc(), PG_FREE_IF_COPY, PG_GETARG_QUERYTYPE_P, PG_RETURN_POINTER, and QUERYTYPE::size.
Definition at line 234 of file _int_bool.c.
References ITEM::val, and val.
Referenced by boolop(), and execconsistent().
Definition at line 256 of file _int_bool.c.
References GETBIT, HASHVAL, and ITEM::val.
Referenced by signconsistent().
Definition at line 327 of file _int_bool.c.
References GinChkVal::first, and GinChkVal::mapped_check.
Referenced by gin_bool_consistent().
Definition at line 363 of file _int_bool.c.
References check_stack_depth(), ITEM::left, ITEM::type, ITEM::val, and VAL.
Referenced by query_has_required_values().
Definition at line 308 of file _int_bool.c.
References CHKVAL::arrb, CHKVAL::arre, ARRNELEMS, ARRPTR, CHECKARRVALID, checkcondition_arr(), execute(), GETQUERY, and QUERYTYPE::size.
Referenced by g_int_consistent().
|
static |
Definition at line 265 of file _int_bool.c.
References check_stack_depth(), options, ITEM::type, and VAL.
Referenced by boolop(), execconsistent(), gin_bool_consistent(), and signconsistent().
Definition at line 439 of file _int_bool.c.
References check_stack_depth(), DEBUG3, elog(), ITEM::left, OPR, generate_unaccent_rules::type, VAL, and val.
Referenced by bqarr_in().
Definition at line 49 of file _int_bool.c.
References CLOSE, END, ERR, OPEN, OPR, VAL, val, WAITENDOPERAND, WAITOPERAND, and WAITOPERATOR.
Referenced by makepol().
Definition at line 335 of file _int_bool.c.
References checkcondition_gin(), execute(), GinChkVal::first, GETQUERY, i, j, GinChkVal::mapped_check, palloc(), QUERYTYPE::size, generate_unaccent_rules::type, and VAL.
Referenced by ginint4_consistent().
Definition at line 566 of file _int_bool.c.
References INFIX::buf, INFIX::buflen, check_stack_depth(), INFIX::cur, INFIX::curpol, OPR, palloc(), pfree(), RESIZEBUF, sprintf, ITEM::type, ITEM::val, and VAL.
Referenced by bqarr_out().
Definition at line 154 of file _int_bool.c.
References check_stack_depth(), CLOSE, END, ereturn, ERR, errcode(), errmsg(), gettoken(), OPEN, OPR, pushquery(), STACKDEPTH, generate_unaccent_rules::type, VAL, and val.
Referenced by bqarr_in().
PG_FUNCTION_INFO_V1 | ( | boolop | ) |
PG_FUNCTION_INFO_V1 | ( | bqarr_in | ) |
PG_FUNCTION_INFO_V1 | ( | bqarr_out | ) |
PG_FUNCTION_INFO_V1 | ( | querytree | ) |
PG_FUNCTION_INFO_V1 | ( | rboolop | ) |
Definition at line 137 of file _int_bool.c.
References NODE::next, palloc(), NODE::type, generate_unaccent_rules::type, NODE::val, and val.
Referenced by makepol().
Definition at line 398 of file _int_bool.c.
References contains_required_value(), GETQUERY, and QUERYTYPE::size.
Referenced by ginint4_queryextract().
Datum querytree | ( | PG_FUNCTION_ARGS | ) |
Definition at line 666 of file _int_bool.c.
References elog(), ERROR, and PG_RETURN_NULL.
Referenced by inline_function(), inline_set_returning_function(), and pg_plan_query().
Datum rboolop | ( | PG_FUNCTION_ARGS | ) |
Definition at line 409 of file _int_bool.c.
References boolop(), DirectFunctionCall2, and PG_GETARG_DATUM.
Definition at line 299 of file _int_bool.c.
References checkcondition_bit(), execute(), GETQUERY, sign, and QUERYTYPE::size.
Referenced by g_intbig_consistent().