Re: wCTE: about the name of the feature

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: wCTE: about the name of the feature
Дата
Msg-id 2113.1298688080@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: wCTE: about the name of the feature  (Marko Tiikkaja <marko.tiikkaja@cs.helsinki.fi>)
Ответы Re: wCTE: about the name of the feature  (Marko Tiikkaja <marko.tiikkaja@cs.helsinki.fi>)
Список pgsql-hackers
Marko Tiikkaja <marko.tiikkaja@cs.helsinki.fi> writes:
> On 2011-02-26 2:00 AM, Tom Lane wrote:
>> I've gone ahead and applied the code portion of the patch, with
>> modifications as per discussion, and other editorialization.

> Thanks a lot!

> One thing bothers me though: what was the reason for requiring a 
> RETURNING clause for data-modifying statements in WITH?

That test was in your patch, no?  I moved the code to another place
but it's still enforcing the same thing, namely that you can't reference
the output of an INSERT/UPDATE/DELETE that hasn't got RETURNING.
        regards, tom lane


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

Предыдущее
От: Marko Tiikkaja
Дата:
Сообщение: Re: wCTE: about the name of the feature
Следующее
От: David Fetter
Дата:
Сообщение: Re: wCTE: why not finish sub-updates at the end, not the beginning?