summaryrefslogtreecommitdiff
path: root/src/backend/executor/nodeIndexonlyscan.c
diff options
context:
space:
mode:
authorDavid Rowley <drowley@postgresql.org>2023-01-24 12:29:24 +1300
committerDavid Rowley <drowley@postgresql.org>2023-01-24 12:29:24 +1300
commitbcec08907e9357425ec0b3ea9ce03fd41fa6b8de (patch)
treed864ec58687876f5537fbd4b3a6402e8d4325d83 /src/backend/executor/nodeIndexonlyscan.c
parent70ec756b01a4c9e62c189a8d853401393d18cb4b (diff)
Fix LATERAL join test in test memoize.sql
The test in question was meant to be testing Memoize to ensure it worked correctly when the inner side of the join contained lateral vars, however, nothing in the lateral subquery stopped it from being pulled up into the main query, so the planner did that, and that meant no more lateral vars. Here we add a simple ORDER BY to stop the planner from being able to pullup the lateral subquery. Author: Richard Guo Discussion: https://postgr.es/m/CAMbWs4_LHJaN4L-tXpKMiPFnsCJWU1P8Xh59o0W7AA6UN99=cQ@mail.gmail.com Backpatch-through: 14, where Memoize was added.
Diffstat (limited to 'src/backend/executor/nodeIndexonlyscan.c')
0 files changed, 0 insertions, 0 deletions