Add missing TidRangePath handling in print_path()
authorDavid Rowley <drowley@postgresql.org>
Thu, 28 Sep 2023 11:03:26 +0000 (00:03 +1300)
committerDavid Rowley <drowley@postgresql.org>
Thu, 28 Sep 2023 11:03:26 +0000 (00:03 +1300)
commita0bfd65993948f5d299e37f33c658cdee79bb237
treec4b57351481cfc1df084b0721c34a3b182ef5621
parent0db39e633812e8bda24067904ee8bc262e9eae25
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
src/backend/optimizer/path/allpaths.c