Add missing MaterialPath support in reparameterize_path[_by_child].
authorTom Lane <tgl@sss.pgh.pa.us>
Sun, 4 Dec 2022 18:35:42 +0000 (13:35 -0500)
committerTom Lane <tgl@sss.pgh.pa.us>
Sun, 4 Dec 2022 18:35:42 +0000 (13:35 -0500)
commit6eb2f0ed4cd5c8668c3127024a8a58b10fa2e8dc
tree532d4e850ec8f3ad8f76154cc9eec65095db81ed
parentfe12f2f8fa608156c2d3c027cdd6aa9af0788e3a
Add missing MaterialPath support in reparameterize_path[_by_child].

These two functions failed to cover MaterialPath.  That's not a
fatal problem, but we can generate better plans in some cases
if we support it.

Tom Lane and Richard Guo

Discussion: https://postgr.es/m/1854233.1669949723@sss.pgh.pa.us
src/backend/optimizer/util/pathnode.c