Fix another oversight in CustomScan patch.

disuse_physical_tlist() must work for all plan types handled by
create_scan_plan().
This commit is contained in:
Tom Lane 2014-11-20 14:49:02 -05:00
parent c5111ea9ca
commit 03e574af5f
1 changed files with 1 additions and 0 deletions

View File

@ -553,6 +553,7 @@ disuse_physical_tlist(PlannerInfo *root, Plan *plan, Path *path)
case T_CteScan:
case T_WorkTableScan:
case T_ForeignScan:
case T_CustomScan:
plan->targetlist = build_path_tlist(root, path);
break;
default: