Re: Consequence of changes to CTE's in 12

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Consequence of changes to CTE's in 12
Дата
Msg-id 1510830.1613090158@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Consequence of changes to CTE's in 12  (Michael Lewis <mlewis@entrata.com>)
Список pgsql-general
Michael Lewis <mlewis@entrata.com> writes:
> If you move the limit 1 to the first CTE, does it not give you the same
> behavior in both versions?

Not sure if that's exactly the same, but certainly adding a traditional
optimization fence (OFFSET 0) to the first CTE should do the trick.

            regards, tom lane



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

Предыдущее
От: "David G. Johnston"
Дата:
Сообщение: Re: Consequence of changes to CTE's in 12
Следующее
От: Steve Baldwin
Дата:
Сообщение: Re: Consequence of changes to CTE's in 12