Content-Length: 254681 | pFad | http://github.com/postgrespro/postgres/commit/03e574af5f5d4682ce3ae6dc401ba126c70ce2ea

0A Fix another oversight in CustomScan patch. · postgrespro/postgres@03e574a · GitHub
Skip to content

Commit 03e574a

Browse files
committed
Fix another oversight in CustomScan patch.
disuse_physical_tlist() must work for all plan types handled by create_scan_plan().
1 parent c5111ea commit 03e574a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/backend/optimizer/plan/createplan.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -553,6 +553,7 @@ disuse_physical_tlist(PlannerInfo *root, Plan *plan, Path *path)
553553
case T_CteScan:
554554
case T_WorkTableScan:
555555
case T_ForeignScan:
556+
case T_CustomScan:
556557
plan->targetlist = build_path_tlist(root, path);
557558
break;
558559
default:

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres/commit/03e574af5f5d4682ce3ae6dc401ba126c70ce2ea

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy