Re: Views as FROM subselects

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Views as FROM subselects
Дата
Msg-id 14126.976921773@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Views as FROM subselects  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список pgsql-hackers
Bruce Momjian <pgman@candle.pha.pa.us> writes:
> Tom, I see from the CVS logs you say:
>  Subselects in FROM clause, per ISO syntax: FROM (SELECT ...) [AS] alias.
>  (Don't forget that an alias is required.)  Views reimplemented as expanding
>  to subselect-in-FROM.  Grouping, aggregates, DISTINCT in views actually
>  work now (he says optimistically).  No UNION support in subselects/views
>  yet, but I have some ideas about that.  Rule-related permissions checking
>  moved out of rewriter and into executor.
> Does this mean the rewrite system no longer handles views?

Sure it does.  It got a lot simpler though.
        regards, tom lane


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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Views as FROM subselects
Следующее
От: Tom Lane
Дата:
Сообщение: Re: CURRENT/OLD keywords still broken