Re: [HACKERS] Open 6.3 issues

Поиск
Список
Период
Сортировка
От Vadim B. Mikheev
Тема Re: [HACKERS] Open 6.3 issues
Дата
Msg-id 34F22038.64B6E830@sable.krasnoyarsk.su
обсуждение исходный текст
Ответ на Re: [HACKERS] Open 6.3 issues  (jwieck@debis.com (Jan Wieck))
Список pgsql-hackers
Jan Wieck wrote:
>
> > Views on aggregates fail
>
>     Uh oh - Aggregates require a group by clause in the select.
>     This is correctly copied into the query action in the views
>     pg_rewrite entry. But the rewrite handler doesn't insert it
>     into the parsetree. Thus a wrong execution plan in built.
>
>     I'll try some things, but expect to get into trouble if the
>     select from the view contains it's own grouping clauses.

There is another way of VIEW implementation: put VIEW' query
as subselect into FROM clause. The last feature is not implemented
yet. It's just a thought...

Vadim

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

Предыдущее
От: t-ishii@sra.co.jp
Дата:
Сообщение: Re: [HACKERS] Current 6.3 issues
Следующее
От: "Vadim B. Mikheev"
Дата:
Сообщение: Re: [HACKERS] Subselects and NOTs