Re: Common table expression - parsing questions

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Common table expression - parsing questions
Дата
Msg-id 8813.1254668436@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Common table expression - parsing questions  (Thomas Kellerer <spam_eater@gmx.net>)
Список pgsql-sql
Thomas Kellerer <spam_eater@gmx.net> writes:
> the6campbells wrote on 29.09.2009 04:54:
>> 2. Do you intend to remove the requirement to include the recursive 
>> keyword - as other vendors allow

> The standard *requires* the keyword. 

The reason the standard requires the keyword is that the WITH-name
scoping rules are different in the two cases.  This means it is possible
to construct 100% valid queries that mean different things depending on
whether RECURSIVE is present or not.  Admittedly, they'd be uncommon
corner cases, but the short answer is that an implementation that does
not require the keyword will fail to process some standard-conforming
queries in a standard-conforming way.

IOW, no, we are not going to change this.
        regards, tom lane


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

Предыдущее
От: mohammad qoreishy
Дата:
Сообщение: reading last inserted record withoud any autoincrement field
Следующее
От: Osvaldo Kussama
Дата:
Сообщение: Re: reading last inserted record withoud any autoincrement field