|
PostgreSQL Source Code git master
|


Go to the source code of this file.
|
extern |
Definition at line 1335 of file subselect.c.
References addRangeTableEntryForSubquery(), ANY_SUBLINK, Assert, bms_is_empty, bms_is_subset(), contain_volatile_functions(), convert_testexpr(), fb(), generate_subquery_vars(), JoinExpr::isNatural, JOIN_SEMI, JoinExpr::jointype, lappend(), JoinExpr::larg, list_length(), make_parsestate(), makeNode, NIL, parse(), pull_varnos(), pull_varnos_of_level(), JoinExpr::quals, JoinExpr::rarg, root, JoinExpr::rtindex, and Query::targetList.
Referenced by pull_up_sublinks_qual_recurse().
|
extern |
Definition at line 1452 of file subselect.c.
References Assert, bms_add_member(), bms_free(), bms_is_empty, bms_is_subset(), bms_next_member(), CombineRangeTables(), contain_vars_of_level(), contain_volatile_functions(), copyObject, Query::cteList, EXISTS_SUBLINK, fb(), FromExpr::fromlist, PlannerInfo::glob, IncrementVarSublevelsUp(), JoinExpr::isNatural, JOIN_ANTI, JOIN_SEMI, Query::jointree, JoinExpr::jointype, JoinExpr::larg, linitial, list_length(), makeNode, MemSet, NIL, OffsetVarNodes(), PlannerInfo::parse, parse(), preprocess_relation_rtes(), pull_varnos(), JoinExpr::quals, FromExpr::quals, JoinExpr::rarg, replace_empty_jointree(), root, Query::rtable, JoinExpr::rtindex, and simplify_EXISTS_query().
Referenced by pull_up_sublinks_qual_recurse().
|
extern |
Definition at line 1229 of file subselect.c.
References contain_volatile_functions(), convert_testexpr(), eval_const_expressions(), exprType(), fb(), IsA, lappend(), lfirst, linitial, linitial_node, linitial_oid, list_length(), list_make1, lsecond, make_SAOP_expr(), NIL, root, RTE_VALUES, value, and values.
Referenced by pull_up_sublinks_qual_recurse().
|
extern |
Definition at line 2389 of file subselect.c.
Referenced by create_plan().
|
extern |
Definition at line 2284 of file subselect.c.
References fb(), lfirst, NIL, Path::parallel_safe, root, SS_compute_initplan_cost(), Path::startup_cost, and Path::total_cost.
Referenced by build_minmax_path(), and subquery_planner().
|
extern |
Definition at line 2348 of file subselect.c.
References fb(), and lfirst_node.
Referenced by clean_up_removed_plan_level(), materialize_finished_plan(), SS_charge_for_initplans(), and standard_planner().
|
extern |
Definition at line 2404 of file subselect.c.
References fb(), finalize_plan(), plan, and root.
Referenced by standard_planner().
|
extern |
Definition at line 2220 of file subselect.c.
References bms_add_member(), fb(), lfirst, lfirst_int, NIL, and root.
Referenced by build_minmax_path(), and subquery_planner().
|
extern |
Definition at line 3165 of file subselect.c.
References cost_subplan(), EXPR_SUBLINK, fb(), SubPlan::firstColCollation, SubPlan::firstColType, SubPlan::firstColTypmod, get_first_col_type(), SubPlan::isInitPlan, lappend(), list_length(), list_make1_int, makeNode, SubPlan::parallel_safe, plan, SubPlan::plan_id, PlannerInfo::plan_name, SubPlan::plan_name, root, SubPlan::setParam, and SubPlan::subLinkType.
Referenced by create_minmaxagg_plan().
|
extern |
Definition at line 3149 of file subselect.c.
References fb(), generate_new_exec_param(), and root.
Referenced by preprocess_minmax_aggregates().
|
extern |
Definition at line 883 of file subselect.c.
References SubPlan::args, Assert, assign_special_exec_param(), choose_plan_name(), CMD_SELECT, contain_dml(), contain_outer_selfref(), contain_volatile_functions(), copyObject, cost_subplan(), create_plan(), CTE_SUBLINK, CommonTableExpr::ctematerialized, CTEMaterializeDefault, CTEMaterializeNever, CommonTableExpr::ctename, CommonTableExpr::ctequery, elog, ERROR, fb(), fetch_upper_rel(), SubPlan::firstColCollation, SubPlan::firstColType, SubPlan::firstColTypmod, get_first_col_type(), inline_cte(), lappend(), lappend_int(), lfirst, list_length(), list_make1_int, makeNode, NIL, SubPlan::parallel_safe, SubPlan::paramIds, SubPlan::parParam, plan, SubPlan::plan_id, PlannerInfo::plan_name, SubPlan::plan_name, root, SubPlan::setParam, SubPlan::subLinkType, subquery_planner(), SubPlan::testexpr, SubPlan::unknownEqFalse, UPPERREL_FINAL, and SubPlan::useHashTable.
Referenced by subquery_planner().
|
extern |
Definition at line 2062 of file subselect.c.
References fb(), process_sublinks_context::isTopQual, process_sublinks_mutator(), process_sublinks_context::root, and root.
Referenced by build_subplan(), and preprocess_expression().
|
extern |
Definition at line 2007 of file subselect.c.
References replace_correlation_vars_mutator(), and root.
Referenced by preprocess_expression().