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/379082d6-1b6a-4cd6-9ecf-7157d8c08635@postgrespro.ru
Backpatch-through: 14, where bb437f995 was introduced
This commit is contained in:
David Rowley 2023-09-29 00:02:22 +13:00
parent c68f78538f
commit c4a1933b48
1 changed files with 3 additions and 0 deletions

View File

@ -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;