Re: Early WIP/PoC for inlining CTEs

Поиск
Список
Период
Сортировка
От Marko Tiikkaja
Тема Re: Early WIP/PoC for inlining CTEs
Дата
Msg-id CAL9smLAxU2ZqnSt09g6Byk9UAdAsqazVXU3n4hyq2cxxJdaWpg@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Early WIP/PoC for inlining CTEs  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On Sat, Jan 26, 2019 at 12:22 AM Tom Lane <tgl@sss.pgh.pa.us> wrote:
Therefore, I'm reversing my previous opinion that we should not have
an explicit NOT MATERIALIZED option.  I think we should add that, and
the behavior ought to be:

* No option given: inline if there's exactly one reference.

* With MATERIALIZED: never inline.

* With NOT MATERIALIZED: inline regardless of the number of references.

This much has been obvious to most people for a long time.


.m

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Early WIP/PoC for inlining CTEs
Следующее
От: Tom Lane
Дата:
Сообщение: Race condition in crash-recovery tests