mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-10-04 16:48:05 +02:00
Add missing TidRangePath handling in print_path()
Tid Range scans were added back inbb437f995
. 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, wherebb437f995
was introduced
This commit is contained in:
parent
8bdfc53be4
commit
7e00466a78
@ -4470,6 +4470,9 @@ print_path(PlannerInfo *root, Path *path, int indent)
|
|||||||
case T_TidPath:
|
case T_TidPath:
|
||||||
ptype = "TidScan";
|
ptype = "TidScan";
|
||||||
break;
|
break;
|
||||||
|
case T_TidRangePath:
|
||||||
|
ptype = "TidRangePath";
|
||||||
|
break;
|
||||||
case T_SubqueryScanPath:
|
case T_SubqueryScanPath:
|
||||||
ptype = "SubqueryScan";
|
ptype = "SubqueryScan";
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user