pgsql: Use OFFSET 0 instead of ORDER BY to stop subquery pullup - Mailing list pgsql-committers

From David Rowley
Subject pgsql: Use OFFSET 0 instead of ORDER BY to stop subquery pullup
Date
Msg-id E1pK7WB-0059ny-O7@gemulon.postgresql.org
Whole thread Raw
List 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_14_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/0765b2f8f6fe8b7c1c07f94b764ef8bb74a292b4

Modified Files
--------------
src/test/regress/expected/memoize.out | 4 ++--
src/test/regress/sql/memoize.sql      | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)


pgsql-committers by date:

Previous
From: David Rowley
Date:
Subject: pgsql: Use OFFSET 0 instead of ORDER BY to stop subquery pullup
Next
From: Andres Freund
Date:
Subject: pgsql: Fix error handling in libpqrcv_connect()