Re: pgsql: Fix LATERAL join test in test memoize.sql

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: pgsql: Fix LATERAL join test in test memoize.sql
Дата
Msg-id 2144818.1674517061@sss.pgh.pa.us
обсуждение исходный текст
Ответ на pgsql: Fix LATERAL join test in test memoize.sql  (David Rowley <drowley@postgresql.org>)
Ответы Re: pgsql: Fix LATERAL join test in test memoize.sql  (David Rowley <dgrowleyml@gmail.com>)
Список pgsql-committers
David Rowley <drowley@postgresql.org> writes:
> Here we add a simple ORDER BY to stop the planner from being able to
> pullup the lateral subquery.

Hmmm ... we have an agreed syntax for a subquery optimization fence,
and that ain't it.  I wouldn't count on this not breaking again in
the future.  Why not OFFSET 0, which is the usual method?

            regards, tom lane



В списке pgsql-committers по дате отправления:

Предыдущее
От: David Rowley
Дата:
Сообщение: pgsql: Fix LATERAL join test in test memoize.sql
Следующее
От: David Rowley
Дата:
Сообщение: Re: pgsql: Fix LATERAL join test in test memoize.sql