| From: | David Rowley <drowley(at)postgresql(dot)org> |
|---|---|
| To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
| Subject: | pgsql: Use OFFSET 0 instead of ORDER BY to stop subquery pullup |
| Date: | 2023-01-24 00:50:03 |
| Message-ID: | E1pK7Vj-0059n5-Es@gemulon.postgresql.org |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-committers |
Use OFFSET 0 instead of ORDER BY to stop subquery pullup
b762fed64 recently changed this test to prevent subquery pullup to allow
us to test Memoize with lateral_vars. As pointed out by Tom Lane, OFFSET
0 is our standard way of preventing subquery pullups, so do it that way
instead.
Discussion: https://postgr.es/m/2144818.1674517061@sss.pgh.pa.us
Backpatch-through: 14, same as b762fed64
Branch
------
REL_15_STABLE
Details
-------
https://git.postgresql.org/pg/commitdiff/5dc582da6b9a281321e687ae2b52f96b929d8d0e
Modified Files
--------------
src/test/regress/expected/memoize.out | 4 ++--
src/test/regress/sql/memoize.sql | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
| From | Date | Subject | |
|---|---|---|---|
| Next Message | David Rowley | 2023-01-24 00:50:32 | pgsql: Use OFFSET 0 instead of ORDER BY to stop subquery pullup |
| Previous Message | David Rowley | 2023-01-24 00:49:31 | pgsql: Use OFFSET 0 instead of ORDER BY to stop subquery pullup |