Commit 03e574af authored by Tom Lane's avatar Tom Lane

Fix another oversight in CustomScan patch.

disuse_physical_tlist() must work for all plan types handled by
create_scan_plan().
parent c5111ea9
...@@ -553,6 +553,7 @@ disuse_physical_tlist(PlannerInfo *root, Plan *plan, Path *path) ...@@ -553,6 +553,7 @@ disuse_physical_tlist(PlannerInfo *root, Plan *plan, Path *path)
case T_CteScan: case T_CteScan:
case T_WorkTableScan: case T_WorkTableScan:
case T_ForeignScan: case T_ForeignScan:
case T_CustomScan:
plan->targetlist = build_path_tlist(root, path); plan->targetlist = build_path_tlist(root, path);
break; break;
default: default:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment