Add missing MaterialPath support in reparameterize_path[_by_child].

Tom Lane <tgl@sss.pgh.pa.us>

Commit: 6eb2f0ed4cd5c8668c3127024a8a58b10fa2e8dc
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2022-12-04T18:35:42Z
Releases: 16.0
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

Files

PathChange+/−
src/backend/optimizer/util/pathnode.c modified +24 −1

Discussion