pgsql: Fix broken MemoizePath support in reparameterize_path().

2022-12-04 Thread Tom Lane
Fix broken MemoizePath support in reparameterize_path(). It neglected to recurse to the subpath, meaning you'd get back a path identical to the input. This could produce wrong query results if the omission meant that the subpath fails to enforce some join clause it should be enforcing. We don't

pgsql: Fix broken MemoizePath support in reparameterize_path().

2022-12-04 Thread Tom Lane
Fix broken MemoizePath support in reparameterize_path(). It neglected to recurse to the subpath, meaning you'd get back a path identical to the input. This could produce wrong query results if the omission meant that the subpath fails to enforce some join clause it should be enforcing. We don't

pgsql: Fix broken MemoizePath support in reparameterize_path().

2022-12-04 Thread Tom Lane
Fix broken MemoizePath support in reparameterize_path(). It neglected to recurse to the subpath, meaning you'd get back a path identical to the input. This could produce wrong query results if the omission meant that the subpath fails to enforce some join clause it should be enforcing. We don't