aboutsummaryrefslogtreecommitdiff
path: root/src/tutorial/basics.source
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2022-12-04 13:48:12 -0500
committerTom Lane <tgl@sss.pgh.pa.us>2022-12-04 13:48:12 -0500
commitce093aa18062f64d5eb16175e361cc34a222c1db (patch)
tree5dd6ea272c267ca297f5ed80da3890a89c6259a7 /src/tutorial/basics.source
parentec3daeec316ff999d3e8f12a3587cdb4d0af81b0 (diff)
downloadpostgresql-ce093aa18062f64d5eb16175e361cc34a222c1db.tar.gz
postgresql-ce093aa18062f64d5eb16175e361cc34a222c1db.zip
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 have a test case for this at the moment, but the code is obviously broken and the fix is equally obvious. Back-patch to v14 where Memoize was introduced. Richard Guo Discussion: https://postgr.es/m/CAMbWs4_R=ORpz=Lkn2q3ebPC5EuWyfZF+tmfCPVLBVK5W39mHA@mail.gmail.com
Diffstat (limited to 'src/tutorial/basics.source')
0 files changed, 0 insertions, 0 deletions