Add missing TidRangePath handling in print_path()

David Rowley <drowley@postgresql.org>

Commit: c4a1933b48472eed0326462098091b47ffd7a14e
Author: David Rowley <drowley@postgresql.org>
Date: 2023-09-28T11:02:22Z
Releases: 17.0
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

Files

PathChange+/−
src/backend/optimizer/path/allpaths.c modified +3 −0

Discussion