summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Rowley2023-09-28 11:02:22 +0000
committerDavid Rowley2023-09-28 11:02:22 +0000
commitc4a1933b48472eed0326462098091b47ffd7a14e (patch)
tree582031d7ead68a1ccaca4621bb692bd67a6f3385
parentc68f78538f93803b5c4f879da12918762eb43482 (diff)
Add missing TidRangePath handling in print_path()
Tid Range scans were added back in bb437f995. That commit forgot to add handling for TidRangePaths in print_path(). Only people building with OPTIMIZER_DEBUG might have noticed this, which likely is the reason it's taken 4 years for anyone to notice. Author: Andrey Lepikhov Reported-by: Andrey Lepikhov Discussion: https://postgr.es/m/[email protected] Backpatch-through: 14, where bb437f995 was introduced
-rw-r--r--src/backend/optimizer/path/allpaths.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/backend/optimizer/path/allpaths.c b/src/backend/optimizer/path/allpaths.c
index 9bdc70c702..f75e0f99cb 100644
--- a/src/backend/optimizer/path/allpaths.c
+++ b/src/backend/optimizer/path/allpaths.c
@@ -4470,6 +4470,9 @@ print_path(PlannerInfo *root, Path *path, int indent)
case T_TidPath:
ptype = "TidScan";
break;
+ case T_TidRangePath:
+ ptype = "TidRangePath";
+ break;
case T_SubqueryScanPath:
ptype = "SubqueryScan";
break;