|
PostgreSQL Source Code git master
|
#include "nodes/pathnodes.h"

Go to the source code of this file.
Data Structures | |
| struct | WindowFuncLists |
Functions | |
| bool | contain_agg_clause (Node *clause) |
| bool | contain_window_function (Node *clause) |
| WindowFuncLists * | find_window_functions (Node *clause, Index maxWinRef) |
| double | expression_returns_set_rows (PlannerInfo *root, Node *clause) |
| bool | contain_subplans (Node *clause) |
| char | max_parallel_hazard (Query *parse) |
| bool | is_parallel_safe (PlannerInfo *root, Node *node) |
| bool | contain_nonstrict_functions (Node *clause) |
| bool | contain_exec_param (Node *clause, List *param_ids) |
| bool | contain_leaked_vars (Node *clause) |
| Relids | find_nonnullable_rels (Node *clause) |
| List * | find_nonnullable_vars (Node *clause) |
| List * | find_forced_null_vars (Node *node) |
| Var * | find_forced_null_var (Node *node) |
| bool | is_pseudo_constant_clause (Node *clause) |
| bool | is_pseudo_constant_clause_relids (Node *clause, Relids relids) |
| int | NumRelids (PlannerInfo *root, Node *clause) |
| void | CommuteOpExpr (OpExpr *clause) |
| Query * | inline_function_in_from (PlannerInfo *root, RangeTblEntry *rte) |
| Bitmapset * | pull_paramids (Expr *expr) |
Definition at line 2159 of file clauses.c.
References OpExpr::args, elog, ERROR, fb(), get_commutator(), InvalidOid, is_opclause(), linitial, list_length(), lsecond, OidIsValid, and OpExpr::opno.
Referenced by get_switched_clauses().
Definition at line 190 of file clauses.c.
References contain_agg_clause_walker(), and fb().
Referenced by get_eclass_for_sort_expr(), mark_nullable_by_grouping(), and subquery_planner().
Definition at line 1148 of file clauses.c.
References contain_exec_param_walker(), and fb().
Referenced by test_opexpr_is_hashable().
Definition at line 1274 of file clauses.c.
References contain_leaked_vars_walker(), and fb().
Referenced by make_plain_restrictinfo(), and qual_is_pushdown_safe().
Definition at line 1002 of file clauses.c.
References contain_nonstrict_functions_walker(), and fb().
Referenced by inline_function(), and pullup_replace_vars_callback().
Definition at line 339 of file clauses.c.
References contain_subplans_walker(), and fb().
Referenced by convert_EXISTS_to_ANY(), ExecInitValuesScan(), find_simplified_clause(), find_window_run_conditions(), initialize_peragg(), inline_function(), inline_function_in_from(), qual_is_pushdown_safe(), and subquery_planner().
Definition at line 227 of file clauses.c.
References contain_windowfuncs().
Referenced by get_eclass_for_sort_expr(), and mark_nullable_by_grouping().
|
extern |
Definition at line 298 of file clauses.c.
References clamp_row_est(), fb(), FuncExpr::funcid, get_function_rows(), IsA, root, and set_opfuncid().
Referenced by create_set_projection_path(), estimate_num_groups(), and set_function_size_estimates().
Definition at line 1989 of file clauses.c.
References NullTest::arg, BooleanTest::arg, BooleanTest::booltesttype, fb(), IS_NULL, IS_UNKNOWN, IsA, NullTest::nulltesttype, and Var::varlevelsup.
Referenced by check_redundant_nullability_qual(), and find_forced_null_vars().
Definition at line 1928 of file clauses.c.
References AND_EXPR, BoolExpr::args, BoolExpr::boolop, fb(), find_forced_null_var(), find_forced_null_vars(), FirstLowInvalidHeapAttributeNumber, IsA, lfirst, mbms_add_member(), mbms_add_members(), NIL, Var::varattno, and Var::varno.
Referenced by find_forced_null_vars(), and reduce_outer_joins_pass2().
Definition at line 1468 of file clauses.c.
References find_nonnullable_rels_walker().
Referenced by make_outerjoininfo(), and reduce_outer_joins_pass2().
Definition at line 1719 of file clauses.c.
References find_nonnullable_vars_walker().
Referenced by reduce_outer_joins_pass2().
|
extern |
Definition at line 240 of file clauses.c.
References fb(), find_window_functions_walker(), palloc0(), and palloc_object.
Referenced by grouping_planner().
|
extern |
Definition at line 5376 of file clauses.c.
References ACL_EXECUTE, ACLCHECK_OK, ALLOCSET_DEFAULT_SIZES, AllocSetContextCreate, Assert, check_stack_depth(), CMD_SELECT, contain_subplans(), contain_volatile_functions(), copyObject, CurrentMemoryContext, DatumGetPointer(), elog, ERROR, error_context_stack, fb(), FmgrHookIsNeeded, RangeTblFunction::funcexpr, GETSTRUCT(), GetUserId(), heap_attisnull(), HeapTupleIsValid, inline_sql_function_in_from(), IsA, linitial, list_length(), MemoryContextDelete(), MemoryContextSwitchTo(), NameStr, object_aclcheck(), ObjectIdGetDatum(), OidFunctionCall1, PointerGetDatum(), ErrorContextCallback::previous, inline_error_callback_arg::proname, inline_error_callback_arg::prosrc, querytree(), record_plan_function_dependency(), ReleaseSysCache(), root, RTE_FUNCTION, SearchSysCache1(), sql_inline_error_callback(), substitute_actual_parameters_in_from(), SysCacheGetAttrNotNull(), TextDatumGetCString, and SupportRequestInlineInFrom::type.
Referenced by preprocess_function_rtes().
|
extern |
Definition at line 762 of file clauses.c.
References fb(), lfirst, list_concat(), max_parallel_hazard_context::max_hazard, max_parallel_hazard_context::max_interesting, max_parallel_hazard_walker(), NIL, root, and max_parallel_hazard_context::safe_param_ids.
Referenced by apply_projection_to_path(), build_join_rel(), create_minmaxagg_path(), create_nestloop_plan(), create_partial_unique_paths(), create_projection_path(), create_set_projection_path(), create_window_paths(), find_computable_ec_member(), grouping_planner(), make_grouping_rel(), plan_create_index_workers(), query_planner(), relation_can_be_sorted_early(), and set_rel_consider_parallel().
Definition at line 2100 of file clauses.c.
References contain_var_clause(), and contain_volatile_functions().
Referenced by clauselist_selectivity_ext(), dependency_is_compatible_clause(), dependency_is_compatible_expression(), and find_window_run_conditions().
Definition at line 2120 of file clauses.c.
References bms_is_empty, and contain_volatile_functions().
Referenced by clauselist_selectivity_ext().
Definition at line 743 of file clauses.c.
References fb(), max_parallel_hazard_context::max_hazard, max_parallel_hazard_context::max_interesting, max_parallel_hazard_walker(), NIL, parse(), and max_parallel_hazard_context::safe_param_ids.
Referenced by standard_planner().
|
extern |
Definition at line 2142 of file clauses.c.
References bms_del_members(), bms_free(), bms_num_members(), pull_varnos(), and root.
Referenced by clauselist_selectivity_ext(), rowcomparesel(), and treat_as_join_clause().
Definition at line 5800 of file clauses.c.
References fb(), and pull_paramids_walker().
Referenced by create_memoize_plan().