8000 Revert support of FDW pushdowns because of unstability. · postgrespro/aqo@6c788ea · GitHub
[go: up one dir, main page]

Skip to content

Commit 6c788ea

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

File tree

1 file changed

+0
-41
lines changed

1 file changed

+0
-41
lines changed

postprocessing.c

Lines changed: 0 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -625,47 +625,6 @@ aqo_copy_generic_path_info(PlannerInfo *root, Plan *dest, Path *src)
625625
dest->path_clauses = ((JoinPath *) src)->joinrestrictinfo;
626626
dest->path_jointype = ((JoinPath *) src)->jointype;
627627
}
628-
else if (src->type == T_ForeignPath)
629-
{
630-
ForeignPath *fpath = (ForeignPath *) src;
631-
PgFdwRelationInfo *fpinfo = (PgFdwRelationInfo *) fpath->path.parent->fdw_private;
632-
633-
/*
634-
* Pushed down foreign join keeps clauses in special fdw_private
635-
* structure.
636-
* I'm not sure what fpinfo structure keeps clauses for sufficient time.
637-
* So, copy clauses.
638-
*/
639-
640-
dest->path_clauses = list_concat(list_copy(fpinfo->joinclauses),
641-
list_copy(fpinfo->remote_conds));
642-
dest->path_clauses = list_concat(dest->path_clauses,
643-
list_copy(fpinfo->local_conds));
644-
645-
dest->path_jointype = ((JoinPath *) src)->jointype;
646-
647-
dest->path_relids = get_list_of_relids(root, fpinfo->lower_subquery_rels);
648-
649-
if (fpinfo->outerrel)
650-
{
651-
dest->path_clauses = list_concat(dest->path_clauses,
652-
list_copy(fpinfo->outerrel->baserestrictinfo));
653-
dest->path_clauses = list_concat(dest->path_clauses,
654-
list_copy(fpinfo->outerrel->joininfo));
655-
dest->path_relids = list_concat(dest->path_relids,
656-
get_list_of_relids(root, fpinfo->outerrel->relids));
657-
}
658-
659-
if (fpinfo->innerrel)
660-
{
661-
dest->path_clauses = list_concat(dest->path_clauses,
662-
list_copy(fpinfo->innerrel->baserestrictinfo));
663-
dest->path_clauses = list_concat(dest->path_clauses,
664-
list_copy(fpinfo->innerrel->joininfo));
665-
dest->path_relids = list_concat(dest->path_relids,
666-
get_list_of_relids(root, fpinfo->innerrel->relids));
667-
}
668-
}
669628
else
670629
{
671630
dest->path_clauses = list_concat(

0 commit comments

Comments
 (0)
0