Re: top-level DML under CTEs

Поиск
Список
Период
Сортировка
От Robert Haas
Тема Re: top-level DML under CTEs
Дата
Msg-id AANLkTinVeefjte4_NvFwPWfEvanR=49Q9eeajjV42Bc4@mail.gmail.com
обсуждение исходный текст
Ответ на Re: top-level DML under CTEs  (Merlin Moncure <mmoncure@gmail.com>)
Список pgsql-hackers
On Mon, Sep 13, 2010 at 2:43 PM, Merlin Moncure <mmoncure@gmail.com> wrote:
> Just to be clear, the attached patch is missing the part of the wCTE
> that allows queries of the form:
> WITH foo AS (DELETE * FROM bar RETURNING *) <any query using foo>

Understood.

> IOW, your CTE query has to be a select.  This is still highly useful
> however.

Agreed.

> The patch itself looks very clean after a quick glance
> (which is all I can offer ATM unfortunately).

Yeah, I haven't had a chance to look at it either, just wanted to send props.

--
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise Postgres Company


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

Предыдущее
От: Merlin Moncure
Дата:
Сообщение: Re: top-level DML under CTEs
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Report: removing the inconsistencies in our CVS->git conversion