Re: [HACKERS] Views on aggregates - need assistence

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: [HACKERS] Views on aggregates - need assistence
Дата
Msg-id 199802232025.PAA06196@candle.pha.pa.us
обсуждение исходный текст
Ответ на Re: [HACKERS] Views on aggregates - need assistence  (The Hermit Hacker <scrappy@hub.org>)
Список pgsql-hackers
> > can use views as part of a union:
> >
> >     select oid from view1
> >     union
> >     select oid from view2
>
> You mean like:
>
> SQL> select * from one
>   2  ;
>
>          A
> ----------
>          3
>          4
>          2
>
> SQL> create table two ( B int );
>
> Table created.
> SQL> create view v1 as select A from one union select B from two;
>
> View created.
>
> SQL> select * from v1;
>
>          A
> ----------
>          1
>          2
>          3
>          4
>

Yep, we can't currently do that.

--
Bruce Momjian                          |  830 Blythe Avenue
maillist@candle.pha.pa.us              |  Drexel Hill, Pennsylvania 19026
  +  If your life is a hard drive,     |  (610) 353-9879(w)
  +  Christ can be your backup.        |  (610) 853-3000(h)

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

Предыдущее
От: The Hermit Hacker
Дата:
Сообщение: Re: [HACKERS] Re: [COMMITTERS] 'pgsql/src/bin/initdb initdb.sh'
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: [HACKERS] Re: [COMMITTERS] 'pgsql/src/bin/initdb initdb.sh'