/dports/databases/postgresql12-client/postgresql-12.9/src/backend/optimizer/util/ |
H A D | relnode.c | 79 root->simple_rel_array_size = list_length(root->parse->rtable) + 1; in setup_simple_rel_arrays() 83 palloc0(root->simple_rel_array_size * sizeof(RelOptInfo *)); in setup_simple_rel_arrays() 87 palloc0(root->simple_rel_array_size * sizeof(RangeTblEntry *)); in setup_simple_rel_arrays() 146 new_size = root->simple_rel_array_size + add_size; in expand_planner_arrays() 151 MemSet(root->simple_rte_array + root->simple_rel_array_size, in expand_planner_arrays() 157 MemSet(root->simple_rel_array + root->simple_rel_array_size, in expand_planner_arrays() 165 MemSet(root->append_rel_array + root->simple_rel_array_size, in expand_planner_arrays() 174 root->simple_rel_array_size = new_size; in expand_planner_arrays() 188 Assert(relid > 0 && relid < root->simple_rel_array_size); in build_simple_rel() 365 if (relid < root->simple_rel_array_size) in find_base_rel() [all …]
|
/dports/databases/postgresql12-server/postgresql-12.9/src/backend/optimizer/util/ |
H A D | relnode.c | 79 root->simple_rel_array_size = list_length(root->parse->rtable) + 1; in setup_simple_rel_arrays() 83 palloc0(root->simple_rel_array_size * sizeof(RelOptInfo *)); in setup_simple_rel_arrays() 87 palloc0(root->simple_rel_array_size * sizeof(RangeTblEntry *)); in setup_simple_rel_arrays() 146 new_size = root->simple_rel_array_size + add_size; in expand_planner_arrays() 151 MemSet(root->simple_rte_array + root->simple_rel_array_size, in expand_planner_arrays() 157 MemSet(root->simple_rel_array + root->simple_rel_array_size, in expand_planner_arrays() 165 MemSet(root->append_rel_array + root->simple_rel_array_size, in expand_planner_arrays() 174 root->simple_rel_array_size = new_size; in expand_planner_arrays() 188 Assert(relid > 0 && relid < root->simple_rel_array_size); in build_simple_rel() 365 if (relid < root->simple_rel_array_size) in find_base_rel() [all …]
|
/dports/databases/postgresql12-contrib/postgresql-12.9/src/backend/optimizer/util/ |
H A D | relnode.c | 79 root->simple_rel_array_size = list_length(root->parse->rtable) + 1; in setup_simple_rel_arrays() 83 palloc0(root->simple_rel_array_size * sizeof(RelOptInfo *)); in setup_simple_rel_arrays() 87 palloc0(root->simple_rel_array_size * sizeof(RangeTblEntry *)); in setup_simple_rel_arrays() 146 new_size = root->simple_rel_array_size + add_size; in expand_planner_arrays() 151 MemSet(root->simple_rte_array + root->simple_rel_array_size, in expand_planner_arrays() 157 MemSet(root->simple_rel_array + root->simple_rel_array_size, in expand_planner_arrays() 165 MemSet(root->append_rel_array + root->simple_rel_array_size, in expand_planner_arrays() 174 root->simple_rel_array_size = new_size; in expand_planner_arrays() 188 Assert(relid > 0 && relid < root->simple_rel_array_size); in build_simple_rel() 365 if (relid < root->simple_rel_array_size) in find_base_rel() [all …]
|
/dports/databases/postgresql12-plpython/postgresql-12.9/src/backend/optimizer/util/ |
H A D | relnode.c | 79 root->simple_rel_array_size = list_length(root->parse->rtable) + 1; 83 palloc0(root->simple_rel_array_size * sizeof(RelOptInfo *)); 87 palloc0(root->simple_rel_array_size * sizeof(RangeTblEntry *)); 146 new_size = root->simple_rel_array_size + add_size; 151 MemSet(root->simple_rte_array + root->simple_rel_array_size, 157 MemSet(root->simple_rel_array + root->simple_rel_array_size, 165 MemSet(root->append_rel_array + root->simple_rel_array_size, 174 root->simple_rel_array_size = new_size; 188 Assert(relid > 0 && relid < root->simple_rel_array_size); 365 if (relid < root->simple_rel_array_size) [all …]
|
/dports/databases/postgresql12-plperl/postgresql-12.9/src/backend/optimizer/util/ |
H A D | relnode.c | 79 root->simple_rel_array_size = list_length(root->parse->rtable) + 1; in setup_simple_rel_arrays() 83 palloc0(root->simple_rel_array_size * sizeof(RelOptInfo *)); in setup_simple_rel_arrays() 87 palloc0(root->simple_rel_array_size * sizeof(RangeTblEntry *)); in setup_simple_rel_arrays() 146 new_size = root->simple_rel_array_size + add_size; in expand_planner_arrays() 151 MemSet(root->simple_rte_array + root->simple_rel_array_size, in expand_planner_arrays() 157 MemSet(root->simple_rel_array + root->simple_rel_array_size, in expand_planner_arrays() 165 MemSet(root->append_rel_array + root->simple_rel_array_size, in expand_planner_arrays() 174 root->simple_rel_array_size = new_size; in expand_planner_arrays() 188 Assert(relid > 0 && relid < root->simple_rel_array_size); in build_simple_rel() 365 if (relid < root->simple_rel_array_size) in find_base_rel() [all …]
|
/dports/databases/postgresql12-docs/postgresql-12.9/src/backend/optimizer/util/ |
H A D | relnode.c | 79 root->simple_rel_array_size = list_length(root->parse->rtable) + 1; in setup_simple_rel_arrays() 83 palloc0(root->simple_rel_array_size * sizeof(RelOptInfo *)); in setup_simple_rel_arrays() 87 palloc0(root->simple_rel_array_size * sizeof(RangeTblEntry *)); in setup_simple_rel_arrays() 146 new_size = root->simple_rel_array_size + add_size; in expand_planner_arrays() 151 MemSet(root->simple_rte_array + root->simple_rel_array_size, in expand_planner_arrays() 157 MemSet(root->simple_rel_array + root->simple_rel_array_size, in expand_planner_arrays() 165 MemSet(root->append_rel_array + root->simple_rel_array_size, in expand_planner_arrays() 174 root->simple_rel_array_size = new_size; in expand_planner_arrays() 188 Assert(relid > 0 && relid < root->simple_rel_array_size); in build_simple_rel() 365 if (relid < root->simple_rel_array_size) in find_base_rel() [all …]
|
/dports/databases/postgresql12-pltcl/postgresql-12.9/src/backend/optimizer/util/ |
H A D | relnode.c | 79 root->simple_rel_array_size = list_length(root->parse->rtable) + 1; 83 palloc0(root->simple_rel_array_size * sizeof(RelOptInfo *)); 87 palloc0(root->simple_rel_array_size * sizeof(RangeTblEntry *)); 146 new_size = root->simple_rel_array_size + add_size; 151 MemSet(root->simple_rte_array + root->simple_rel_array_size, 157 MemSet(root->simple_rel_array + root->simple_rel_array_size, 165 MemSet(root->append_rel_array + root->simple_rel_array_size, 174 root->simple_rel_array_size = new_size; 188 Assert(relid > 0 && relid < root->simple_rel_array_size); 365 if (relid < root->simple_rel_array_size) [all …]
|
/dports/databases/postgresql14-pltcl/postgresql-14.1/src/backend/optimizer/util/ |
H A D | relnode.c | 91 root->simple_rel_array_size = size; in setup_simple_rel_arrays() 158 new_size = root->simple_rel_array_size + add_size; in expand_planner_arrays() 163 MemSet(root->simple_rel_array + root->simple_rel_array_size, in expand_planner_arrays() 169 MemSet(root->simple_rte_array + root->simple_rel_array_size, in expand_planner_arrays() 177 MemSet(root->append_rel_array + root->simple_rel_array_size, in expand_planner_arrays() 186 root->simple_rel_array_size = new_size; in expand_planner_arrays() 200 Assert(relid > 0 && relid < root->simple_rel_array_size); in build_simple_rel() 380 if (relid < root->simple_rel_array_size) in find_base_rel() 1263 Assert(rel->relid > 0 && rel->relid < root->simple_rel_array_size); in find_childrel_parents()
|
/dports/databases/postgresql14-server/postgresql-14.1/src/backend/optimizer/util/ |
H A D | relnode.c | 91 root->simple_rel_array_size = size; in setup_simple_rel_arrays() 158 new_size = root->simple_rel_array_size + add_size; in expand_planner_arrays() 163 MemSet(root->simple_rel_array + root->simple_rel_array_size, in expand_planner_arrays() 169 MemSet(root->simple_rte_array + root->simple_rel_array_size, in expand_planner_arrays() 177 MemSet(root->append_rel_array + root->simple_rel_array_size, in expand_planner_arrays() 186 root->simple_rel_array_size = new_size; in expand_planner_arrays() 200 Assert(relid > 0 && relid < root->simple_rel_array_size); in build_simple_rel() 380 if (relid < root->simple_rel_array_size) in find_base_rel() 1263 Assert(rel->relid > 0 && rel->relid < root->simple_rel_array_size); in find_childrel_parents()
|
/dports/databases/postgresql14-contrib/postgresql-14.1/src/backend/optimizer/util/ |
H A D | relnode.c | 91 root->simple_rel_array_size = size; in setup_simple_rel_arrays() 158 new_size = root->simple_rel_array_size + add_size; in expand_planner_arrays() 163 MemSet(root->simple_rel_array + root->simple_rel_array_size, in expand_planner_arrays() 169 MemSet(root->simple_rte_array + root->simple_rel_array_size, in expand_planner_arrays() 177 MemSet(root->append_rel_array + root->simple_rel_array_size, in expand_planner_arrays() 186 root->simple_rel_array_size = new_size; in expand_planner_arrays() 200 Assert(relid > 0 && relid < root->simple_rel_array_size); in build_simple_rel() 380 if (relid < root->simple_rel_array_size) in find_base_rel() 1263 Assert(rel->relid > 0 && rel->relid < root->simple_rel_array_size); in find_childrel_parents()
|
/dports/databases/postgresql14-plperl/postgresql-14.1/src/backend/optimizer/util/ |
H A D | relnode.c | 91 root->simple_rel_array_size = size; in setup_simple_rel_arrays() 158 new_size = root->simple_rel_array_size + add_size; in expand_planner_arrays() 163 MemSet(root->simple_rel_array + root->simple_rel_array_size, in expand_planner_arrays() 169 MemSet(root->simple_rte_array + root->simple_rel_array_size, in expand_planner_arrays() 177 MemSet(root->append_rel_array + root->simple_rel_array_size, in expand_planner_arrays() 186 root->simple_rel_array_size = new_size; in expand_planner_arrays() 200 Assert(relid > 0 && relid < root->simple_rel_array_size); in build_simple_rel() 380 if (relid < root->simple_rel_array_size) in find_base_rel() 1263 Assert(rel->relid > 0 && rel->relid < root->simple_rel_array_size); in find_childrel_parents()
|
/dports/databases/postgresql14-plpython/postgresql-14.1/src/backend/optimizer/util/ |
H A D | relnode.c | 91 root->simple_rel_array_size = size; in setup_simple_rel_arrays() 158 new_size = root->simple_rel_array_size + add_size; in expand_planner_arrays() 163 MemSet(root->simple_rel_array + root->simple_rel_array_size, in expand_planner_arrays() 169 MemSet(root->simple_rte_array + root->simple_rel_array_size, in expand_planner_arrays() 177 MemSet(root->append_rel_array + root->simple_rel_array_size, in expand_planner_arrays() 186 root->simple_rel_array_size = new_size; in expand_planner_arrays() 200 Assert(relid > 0 && relid < root->simple_rel_array_size); in build_simple_rel() 380 if (relid < root->simple_rel_array_size) in find_base_rel() 1263 Assert(rel->relid > 0 && rel->relid < root->simple_rel_array_size); in find_childrel_parents()
|
/dports/databases/postgresql14-client/postgresql-14.1/src/backend/optimizer/util/ |
H A D | relnode.c | 91 root->simple_rel_array_size = size; in setup_simple_rel_arrays() 158 new_size = root->simple_rel_array_size + add_size; in expand_planner_arrays() 163 MemSet(root->simple_rel_array + root->simple_rel_array_size, in expand_planner_arrays() 169 MemSet(root->simple_rte_array + root->simple_rel_array_size, in expand_planner_arrays() 177 MemSet(root->append_rel_array + root->simple_rel_array_size, in expand_planner_arrays() 186 root->simple_rel_array_size = new_size; in expand_planner_arrays() 200 Assert(relid > 0 && relid < root->simple_rel_array_size); in build_simple_rel() 380 if (relid < root->simple_rel_array_size) in find_base_rel() 1263 Assert(rel->relid > 0 && rel->relid < root->simple_rel_array_size); in find_childrel_parents()
|
/dports/databases/postgresql13-pltcl/postgresql-13.5/src/backend/optimizer/util/ |
H A D | relnode.c | 91 root->simple_rel_array_size = size; in setup_simple_rel_arrays() 158 new_size = root->simple_rel_array_size + add_size; in expand_planner_arrays() 163 MemSet(root->simple_rel_array + root->simple_rel_array_size, in expand_planner_arrays() 169 MemSet(root->simple_rte_array + root->simple_rel_array_size, in expand_planner_arrays() 177 MemSet(root->append_rel_array + root->simple_rel_array_size, in expand_planner_arrays() 186 root->simple_rel_array_size = new_size; in expand_planner_arrays() 200 Assert(relid > 0 && relid < root->simple_rel_array_size); in build_simple_rel() 380 if (relid < root->simple_rel_array_size) in find_base_rel() 1248 Assert(rel->relid > 0 && rel->relid < root->simple_rel_array_size); in find_childrel_parents()
|
/dports/databases/postgresql14-docs/postgresql-14.1/src/backend/optimizer/util/ |
H A D | relnode.c | 91 root->simple_rel_array_size = size; in setup_simple_rel_arrays() 158 new_size = root->simple_rel_array_size + add_size; in expand_planner_arrays() 163 MemSet(root->simple_rel_array + root->simple_rel_array_size, in expand_planner_arrays() 169 MemSet(root->simple_rte_array + root->simple_rel_array_size, in expand_planner_arrays() 177 MemSet(root->append_rel_array + root->simple_rel_array_size, in expand_planner_arrays() 186 root->simple_rel_array_size = new_size; in expand_planner_arrays() 200 Assert(relid > 0 && relid < root->simple_rel_array_size); in build_simple_rel() 380 if (relid < root->simple_rel_array_size) in find_base_rel() 1263 Assert(rel->relid > 0 && rel->relid < root->simple_rel_array_size); in find_childrel_parents()
|
/dports/databases/postgresql13-server/postgresql-13.5/src/backend/optimizer/util/ |
H A D | relnode.c | 91 root->simple_rel_array_size = size; 158 new_size = root->simple_rel_array_size + add_size; 163 MemSet(root->simple_rel_array + root->simple_rel_array_size, 169 MemSet(root->simple_rte_array + root->simple_rel_array_size, 177 MemSet(root->append_rel_array + root->simple_rel_array_size, 186 root->simple_rel_array_size = new_size; 200 Assert(relid > 0 && relid < root->simple_rel_array_size); 380 if (relid < root->simple_rel_array_size) 1248 Assert(rel->relid > 0 && rel->relid < root->simple_rel_array_size);
|
/dports/databases/postgresql13-docs/postgresql-13.5/src/backend/optimizer/util/ |
H A D | relnode.c | 91 root->simple_rel_array_size = size; in setup_simple_rel_arrays() 158 new_size = root->simple_rel_array_size + add_size; in expand_planner_arrays() 163 MemSet(root->simple_rel_array + root->simple_rel_array_size, in expand_planner_arrays() 169 MemSet(root->simple_rte_array + root->simple_rel_array_size, in expand_planner_arrays() 177 MemSet(root->append_rel_array + root->simple_rel_array_size, in expand_planner_arrays() 186 root->simple_rel_array_size = new_size; in expand_planner_arrays() 200 Assert(relid > 0 && relid < root->simple_rel_array_size); in build_simple_rel() 380 if (relid < root->simple_rel_array_size) in find_base_rel() 1248 Assert(rel->relid > 0 && rel->relid < root->simple_rel_array_size); in find_childrel_parents()
|
/dports/databases/postgresql13-contrib/postgresql-13.5/src/backend/optimizer/util/ |
H A D | relnode.c | 91 root->simple_rel_array_size = size; in setup_simple_rel_arrays() 158 new_size = root->simple_rel_array_size + add_size; in expand_planner_arrays() 163 MemSet(root->simple_rel_array + root->simple_rel_array_size, in expand_planner_arrays() 169 MemSet(root->simple_rte_array + root->simple_rel_array_size, in expand_planner_arrays() 177 MemSet(root->append_rel_array + root->simple_rel_array_size, in expand_planner_arrays() 186 root->simple_rel_array_size = new_size; in expand_planner_arrays() 200 Assert(relid > 0 && relid < root->simple_rel_array_size); in build_simple_rel() 380 if (relid < root->simple_rel_array_size) in find_base_rel() 1248 Assert(rel->relid > 0 && rel->relid < root->simple_rel_array_size); in find_childrel_parents()
|
/dports/databases/postgresql13-client/postgresql-13.5/src/backend/optimizer/util/ |
H A D | relnode.c | 91 root->simple_rel_array_size = size; in setup_simple_rel_arrays() 158 new_size = root->simple_rel_array_size + add_size; in expand_planner_arrays() 163 MemSet(root->simple_rel_array + root->simple_rel_array_size, in expand_planner_arrays() 169 MemSet(root->simple_rte_array + root->simple_rel_array_size, in expand_planner_arrays() 177 MemSet(root->append_rel_array + root->simple_rel_array_size, in expand_planner_arrays() 186 root->simple_rel_array_size = new_size; in expand_planner_arrays() 200 Assert(relid > 0 && relid < root->simple_rel_array_size); in build_simple_rel() 380 if (relid < root->simple_rel_array_size) in find_base_rel() 1248 Assert(rel->relid > 0 && rel->relid < root->simple_rel_array_size); in find_childrel_parents()
|
/dports/databases/postgresql13-plpython/postgresql-13.5/src/backend/optimizer/util/ |
H A D | relnode.c | 91 root->simple_rel_array_size = size; in setup_simple_rel_arrays() 158 new_size = root->simple_rel_array_size + add_size; in expand_planner_arrays() 163 MemSet(root->simple_rel_array + root->simple_rel_array_size, in expand_planner_arrays() 169 MemSet(root->simple_rte_array + root->simple_rel_array_size, in expand_planner_arrays() 177 MemSet(root->append_rel_array + root->simple_rel_array_size, in expand_planner_arrays() 186 root->simple_rel_array_size = new_size; in expand_planner_arrays() 200 Assert(relid > 0 && relid < root->simple_rel_array_size); in build_simple_rel() 380 if (relid < root->simple_rel_array_size) in find_base_rel() 1248 Assert(rel->relid > 0 && rel->relid < root->simple_rel_array_size); in find_childrel_parents()
|
/dports/databases/postgresql13-plperl/postgresql-13.5/src/backend/optimizer/util/ |
H A D | relnode.c | 91 root->simple_rel_array_size = size; in setup_simple_rel_arrays() 158 new_size = root->simple_rel_array_size + add_size; in expand_planner_arrays() 163 MemSet(root->simple_rel_array + root->simple_rel_array_size, in expand_planner_arrays() 169 MemSet(root->simple_rte_array + root->simple_rel_array_size, in expand_planner_arrays() 177 MemSet(root->append_rel_array + root->simple_rel_array_size, in expand_planner_arrays() 186 root->simple_rel_array_size = new_size; in expand_planner_arrays() 200 Assert(relid > 0 && relid < root->simple_rel_array_size); in build_simple_rel() 380 if (relid < root->simple_rel_array_size) in find_base_rel() 1248 Assert(rel->relid > 0 && rel->relid < root->simple_rel_array_size); in find_childrel_parents()
|
/dports/databases/postgresql14-pltcl/postgresql-14.1/src/backend/optimizer/plan/ |
H A D | initsplan.c | 148 for (rti = 1; rti < root->simple_rel_array_size; rti++) in add_other_rels_to_query() 315 for (rti = 1; rti < root->simple_rel_array_size; rti++) in find_lateral_references() 463 for (rti = 1; rti < root->simple_rel_array_size; rti++) in create_lateral_join_info() 583 for (rti = 1; rti < root->simple_rel_array_size; rti++) in create_lateral_join_info() 598 for (rti2 = 1; rti2 < root->simple_rel_array_size; rti2++) in create_lateral_join_info() 617 for (rti = 1; rti < root->simple_rel_array_size; rti++) in create_lateral_join_info() 2500 if (fkinfo->con_relid >= root->simple_rel_array_size || in match_foreign_keys_to_quals() 2501 fkinfo->ref_relid >= root->simple_rel_array_size) in match_foreign_keys_to_quals()
|
/dports/databases/postgresql14-server/postgresql-14.1/src/backend/optimizer/plan/ |
H A D | initsplan.c | 148 for (rti = 1; rti < root->simple_rel_array_size; rti++) in add_other_rels_to_query() 315 for (rti = 1; rti < root->simple_rel_array_size; rti++) in find_lateral_references() 463 for (rti = 1; rti < root->simple_rel_array_size; rti++) in create_lateral_join_info() 583 for (rti = 1; rti < root->simple_rel_array_size; rti++) in create_lateral_join_info() 598 for (rti2 = 1; rti2 < root->simple_rel_array_size; rti2++) in create_lateral_join_info() 617 for (rti = 1; rti < root->simple_rel_array_size; rti++) in create_lateral_join_info() 2500 if (fkinfo->con_relid >= root->simple_rel_array_size || in match_foreign_keys_to_quals() 2501 fkinfo->ref_relid >= root->simple_rel_array_size) in match_foreign_keys_to_quals()
|
/dports/databases/postgresql14-contrib/postgresql-14.1/src/backend/optimizer/plan/ |
H A D | initsplan.c | 148 for (rti = 1; rti < root->simple_rel_array_size; rti++) in add_other_rels_to_query() 315 for (rti = 1; rti < root->simple_rel_array_size; rti++) in find_lateral_references() 463 for (rti = 1; rti < root->simple_rel_array_size; rti++) in create_lateral_join_info() 583 for (rti = 1; rti < root->simple_rel_array_size; rti++) in create_lateral_join_info() 598 for (rti2 = 1; rti2 < root->simple_rel_array_size; rti2++) in create_lateral_join_info() 617 for (rti = 1; rti < root->simple_rel_array_size; rti++) in create_lateral_join_info() 2500 if (fkinfo->con_relid >= root->simple_rel_array_size || in match_foreign_keys_to_quals() 2501 fkinfo->ref_relid >= root->simple_rel_array_size) in match_foreign_keys_to_quals()
|
/dports/databases/postgresql14-plpython/postgresql-14.1/src/backend/optimizer/plan/ |
H A D | initsplan.c | 148 for (rti = 1; rti < root->simple_rel_array_size; rti++) in add_other_rels_to_query() 315 for (rti = 1; rti < root->simple_rel_array_size; rti++) in find_lateral_references() 463 for (rti = 1; rti < root->simple_rel_array_size; rti++) in create_lateral_join_info() 583 for (rti = 1; rti < root->simple_rel_array_size; rti++) in create_lateral_join_info() 598 for (rti2 = 1; rti2 < root->simple_rel_array_size; rti2++) in create_lateral_join_info() 617 for (rti = 1; rti < root->simple_rel_array_size; rti++) in create_lateral_join_info() 2500 if (fkinfo->con_relid >= root->simple_rel_array_size || in match_foreign_keys_to_quals() 2501 fkinfo->ref_relid >= root->simple_rel_array_size) in match_foreign_keys_to_quals()
|