diff options
author | David Rowley <drowley@postgresql.org> | 2023-09-29 00:02:56 +1300 |
---|---|---|
committer | David Rowley <drowley@postgresql.org> | 2023-09-29 00:02:56 +1300 |
commit | 7e00466a78be71a440ea683b971b1a19c34074ca (patch) | |
tree | 148c59547bbae2b04829454f108bff691f94a3a1 /src | |
parent | 8bdfc53be48ae99109a05df1dfd203d35207733f (diff) | |
download | postgresql-7e00466a78be71a440ea683b971b1a19c34074ca.tar.gz postgresql-7e00466a78be71a440ea683b971b1a19c34074ca.zip |
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
Diffstat (limited to 'src')
-rw-r--r-- | src/backend/optimizer/path/allpaths.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/backend/optimizer/path/allpaths.c b/src/backend/optimizer/path/allpaths.c index 9bdc70c702e..f75e0f99cb9 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; |