Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit e72f1a6

Browse files
committed
Revert support of FDW pushdowns because of unstability.
Add ignore option in pg_regress schedule for non-passed tests.
1 parent d610008 commit e72f1a6

File tree

2 files changed

+6
-45
lines changed

2 files changed

+6
-45
lines changed

parallel_schedule

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
# ----------
1414
# The first group of parallel tests
1515
# ----------
16+
1617
test: boolean char name varchar text int2 int4 int8 oid float4 float8 bit numeric txid uuid enum money rangetypes pg_lsn regproc
1718

1819
# ----------
@@ -61,15 +62,16 @@ test: create_aggregate create_function_3 create_cast constraints triggers select
6162
# sanity_check does a vacuum, affecting the sort order of SELECT *
6263
# results. So it should not run parallel to other tests.
6364
# ----------
64-
# test: sanity_check
65+
ignore: sanity_check
66+
test: sanity_check
6567

6668
# ----------
6769
# Another group of parallel tests
6870
# Note: the ignore: line does not run random, just mark it as ignorable
6971
# ----------
7072
ignore: random
7173
test: select_into select_distinct select_distinct_on select_implicit select_having case aggregates transactions random portals arrays btree_index hash_index update delete namespace prepared_xacts
72-
# test: subselect union join
74+
test: subselect union join
7375

7476
# ----------
7577
# Another group of parallel tests
@@ -86,7 +88,7 @@ test: create_table_like alter_generic alter_operator misc async dbsize misc_func
8688
test: rules psql psql_crosstab amutils stats_ext
8789

8890
# run by itself so it can run parallel workers
89-
# test: select_parallel
91+
test: select_parallel
9092
test: write_parallel
9193

9294
# no relation related tests can be put in this group
@@ -108,7 +110,7 @@ test: json jsonb json_encoding jsonpath jsonpath_encoding jsonb_jsonpath
108110
# so keep this parallel group to at most 19 tests
109111
# ----------
110112
test: plancache limit plpgsql copy2 temp domain rangefuncs prepare conversion truncate alter_table sequence polymorphism rowtypes returning largeobject xml
111-
# test: with
113+
test: with
112114

113115
# ----------
114116
# Another group of parallel tests

postprocessing.c

Lines changed: 0 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -603,47 +603,6 @@ aqo_copy_generic_path_info(PlannerInfo *root, Plan *dest, Path *src)
603603
dest->path_clauses = ((JoinPath *) src)->joinrestrictinfo;
604604
dest->path_jointype = ((JoinPath *) src)->jointype;
605605
}
606-
else if (src->type == T_ForeignPath)
607-
{
608-
ForeignPath *fpath = (ForeignPath *) src;
609-
PgFdwRelationInfo *fpinfo = (PgFdwRelationInfo *) fpath->path.parent->fdw_private;
610-
611-
/*
612-
* Pushed down foreign join keeps clauses in special fdw_private
613-
* structure.
614-
* I'm not sure what fpinfo structure keeps clauses for sufficient time.
615-
* So, copy clauses.
616-
*/
617-
618-
dest->path_clauses = list_concat(list_copy(fpinfo->joinclauses),
619-
list_copy(fpinfo->remote_conds));
620-
dest->path_clauses = list_concat(dest->path_clauses,
621-
list_copy(fpinfo->local_conds));
622-
623-
dest->path_jointype = ((JoinPath *) src)->jointype;
624-
625-
dest->path_relids = get_list_of_relids(root, fpinfo->lower_subquery_rels);
626-
627-
if (fpinfo->outerrel)
628-
{
629-
dest->path_clauses = list_concat(dest->path_clauses,
630-
list_copy(fpinfo->outerrel->baserestrictinfo));
631-
dest->path_clauses = list_concat(dest->path_clauses,
632-
list_copy(fpinfo->outerrel->joininfo));
633-
dest->path_relids = list_concat(dest->path_relids,
634-
get_list_of_relids(root, fpinfo->outerrel->relids));
635-
}
636-
637-
if (fpinfo->innerrel)
638-
{
639-
dest->path_clauses = list_concat(dest->path_clauses,
640-
list_copy(fpinfo->innerrel->baserestrictinfo));
641-
dest->path_clauses = list_concat(dest->path_clauses,
642-
list_copy(fpinfo->innerrel->joininfo));
643-
dest->path_relids = list_concat(dest->path_relids,
644-
get_list_of_relids(root, fpinfo->innerrel->relids));
645-
}
646-
}
647606
else
648607
{
649608
dest->path_clauses = list_concat(

0 commit comments

Comments
 (0)