pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
pgsql: Use OFFSET 0 instead of ORDER BY to stop subquery pullup
3+ messages / 1 participants
[nested] [flat]

* pgsql: Use OFFSET 0 instead of ORDER BY to stop subquery pullup
@ 2023-01-24 00:49 David Rowley <drowley@postgresql.org>
  0 siblings, 0 replies; 3+ messages in thread

From: David Rowley @ 2023-01-24 00:49 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

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
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/9567686ec834e50ab10ae872a8394c9a9e590b0d

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



^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* pgsql: Use OFFSET 0 instead of ORDER BY to stop subquery pullup
@ 2023-01-24 00:50 David Rowley <drowley@postgresql.org>
  0 siblings, 0 replies; 3+ messages in thread

From: David Rowley @ 2023-01-24 00:50 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

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(-)



^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* pgsql: Use OFFSET 0 instead of ORDER BY to stop subquery pullup
@ 2023-01-24 00:50 David Rowley <drowley@postgresql.org>
  0 siblings, 0 replies; 3+ messages in thread

From: David Rowley @ 2023-01-24 00:50 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

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(-)



^ permalink  raw  reply  [nested|flat] 3+ messages in thread


end of thread, other threads:[~2023-01-24 00:50 UTC | newest]

Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2023-01-24 00:49 pgsql: Use OFFSET 0 instead of ORDER BY to stop subquery pullup David Rowley <drowley@postgresql.org>
2023-01-24 00:50 pgsql: Use OFFSET 0 instead of ORDER BY to stop subquery pullup David Rowley <drowley@postgresql.org>
2023-01-24 00:50 pgsql: Use OFFSET 0 instead of ORDER BY to stop subquery pullup David Rowley <drowley@postgresql.org>

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