Re: WITH NOT MATERIALIZED and DML CTEs

Поиск
Список
Период
Сортировка
От David Fetter
Тема Re: WITH NOT MATERIALIZED and DML CTEs
Дата
Msg-id 20190604004002.GR12249@fetter.org
обсуждение исходный текст
Ответ на Re: WITH NOT MATERIALIZED and DML CTEs  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On Mon, Jun 03, 2019 at 07:33:35PM -0400, Tom Lane wrote:
> David Fetter <david@fetter.org> writes:
> > It might be worth documenting the fact that NOT MATERIALIZED doesn't
> > affect DML CTEs, just as it doesn't affect statements with volatile
> > functions and recursive CTEs.
> 
> We already do:
> 
>     However, if a WITH query is non-recursive and side-effect-free (that
>     is, it is a SELECT containing no volatile functions) then it can be

I guess this part makes it pretty clear that DML isn't part of the
party just yet.

Best,
David.
-- 
David Fetter <david(at)fetter(dot)org> http://fetter.org/
Phone: +1 415 235 3778

Remember to vote!
Consider donating to Postgres: http://www.postgresql.org/about/donate



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

Предыдущее
От: Amit Kapila
Дата:
Сообщение: Re: Fix inconsistencies for v12
Следующее
От: Michael Paquier
Дата:
Сообщение: Re: Table AM callbacks referring to heap in declarations (+typos)