Re: SQL99 Hierarchical queries

Поиск
Список
Период
Сортировка
От Evgen Potemkin
Тема Re: SQL99 Hierarchical queries
Дата
Msg-id 44458e320502240611300b4484@mail.gmail.com
обсуждение исходный текст
Ответ на Re: SQL99 Hierarchical queries  (Christopher Kings-Lynne <chriskl@familyhealth.com.au>)
Список pgsql-hackers
> > I have done initial implementation of SQL99 WITH clause (attached).
> > It's now only for v7.3.4 and haven't a lot of checks and restrictions.
> 
> What kind of restrictions are on it?
Main restriction is that the query inside WITH alias can refer only to
back and to itself.
For example 
WITH a as (...),b as (...)select ...;
a can refer only to itself, b - to a and b.

Its needed to restrict WITH aliased query not to use WITH aliasing
itself, i.e. avoid situation of WITH inside WITH. And make also some
other checks. But this isn't done yet.

Regards, Evgen.


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

Предыдущее
От: Christopher Kings-Lynne
Дата:
Сообщение: Re: SQL99 Hierarchical queries
Следующее
От: "Magnus Hagander"
Дата:
Сообщение: Re: [pgsql-hackers-win32] win32 performance - fsync question