|
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 |
Definition at line 557 of file _int_bool.c.
| #define STACKDEPTH 16 |
Definition at line 147 of file _int_bool.c.
| #define WAITENDOPERAND 2 |
Definition at line 18 of file _int_bool.c.
| #define WAITOPERAND 1 |
Definition at line 17 of file _int_bool.c.
| #define WAITOPERATOR 3 |
Definition at line 19 of file _int_bool.c.
| Datum boolop | ( | PG_FUNCTION_ARGS | ) |
Definition at line 417 of file _int_bool.c.
References ARRNELEMS, ARRPTR, CHECKARRVALID, checkcondition_arr(), execute(), fb(), 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 475 of file _int_bool.c.
References appendStringInfo(), buf, COMPUTESIZE, DEBUG3, elog, ereturn, ERR, errcode(), errmsg(), fb(), 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, type, ITEM::val, val, and WAITOPERAND.
| Datum bqarr_out | ( | PG_FUNCTION_ARGS | ) |
Definition at line 642 of file _int_bool.c.
References ereport, errcode(), errmsg(), ERROR, fb(), GETQUERY, infix(), palloc_array, PG_FREE_IF_COPY, PG_GETARG_QUERYTYPE_P, PG_RETURN_POINTER, and QUERYTYPE::size.
Definition at line 233 of file _int_bool.c.
References CHKVAL::arrb, fb(), ITEM::val, and val.
Referenced by boolop(), and execconsistent().
Definition at line 255 of file _int_bool.c.
References fb(), GETBIT, HASHVAL, and ITEM::val.
Referenced by signconsistent().
Definition at line 326 of file _int_bool.c.
References fb(), and GinChkVal::mapped_check.
Referenced by gin_bool_consistent().
Definition at line 362 of file _int_bool.c.
References check_stack_depth(), contains_required_value(), ITEM::left, ITEM::type, ITEM::val, and VAL.
Referenced by contains_required_value(), and query_has_required_values().
Definition at line 307 of file _int_bool.c.
References ARRNELEMS, ARRPTR, CHECKARRVALID, checkcondition_arr(), execute(), fb(), GETQUERY, and QUERYTYPE::size.
Referenced by g_int_consistent().
|
static |
Definition at line 264 of file _int_bool.c.
References check_stack_depth(), execute(), fb(), ITEM::type, and VAL.
Referenced by boolop(), execconsistent(), execute(), gin_bool_consistent(), and signconsistent().
Definition at line 438 of file _int_bool.c.
References check_stack_depth(), DEBUG3, elog, findoprnd(), ITEM::left, OPR, type, ITEM::val, VAL, and val.
Referenced by bqarr_in(), and findoprnd().
Definition at line 48 of file _int_bool.c.
References CLOSE, END, ERR, fb(), OPEN, OPR, VAL, val, WAITENDOPERAND, WAITOPERAND, and WAITOPERATOR.
Referenced by makepol().
Definition at line 334 of file _int_bool.c.
References checkcondition_gin(), execute(), fb(), GETQUERY, i, items, j, palloc_array, QUERYTYPE::size, type, and VAL.
Referenced by ginint4_consistent().
Definition at line 565 of file _int_bool.c.
References check_stack_depth(), INFIX::cur, INFIX::curpol, fb(), infix(), OPR, palloc_array, pfree(), RESIZEBUF, sprintf, ITEM::type, ITEM::val, and VAL.
Referenced by bqarr_out(), and infix().
Definition at line 153 of file _int_bool.c.
References check_stack_depth(), CLOSE, END, ereturn, ERR, errcode(), errmsg(), fb(), gettoken(), makepol(), OPEN, OPR, pushquery(), STACKDEPTH, type, VAL, and val.
Referenced by bqarr_in(), and makepol().
| 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 136 of file _int_bool.c.
References NODE::next, palloc_object, NODE::type, type, NODE::val, and val.
Referenced by makepol().
Definition at line 397 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 665 of file _int_bool.c.
References elog, ERROR, and PG_RETURN_NULL.
Referenced by inline_function(), inline_function_in_from(), inline_sql_function_in_from(), pg_plan_query(), and test_inline_in_from_support_func().
| Datum rboolop | ( | PG_FUNCTION_ARGS | ) |
Definition at line 408 of file _int_bool.c.
References boolop(), DirectFunctionCall2, and PG_GETARG_DATUM.
Definition at line 298 of file _int_bool.c.
References checkcondition_bit(), execute(), fb(), GETQUERY, sign, and QUERYTYPE::size.
Referenced by g_intbig_consistent().