From: David Rowley <drowley@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Use OFFSET 0 instead of ORDER BY to stop subquery pullup
Date: Tue, 24 Jan 2023 00:50:32 +0000
Message-ID: <E1pK7WB-0059ny-O7@gemulon.postgresql.org> (raw)
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(-)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-committers@postgresql.org
Cc: drowley@postgresql.org
Subject: Re: pgsql: Use OFFSET 0 instead of ORDER BY to stop subquery pullup
In-Reply-To: <E1pK7WB-0059ny-O7@gemulon.postgresql.org>
References: <E1pK7WB-0059ny-O7@gemulon.postgresql.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox