Re: [HACKERS] Views on aggregates - need assistence

From: Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us>
To: scrappy(at)hub(dot)org (The Hermit Hacker)
Cc: jwieck(at)debis(dot)com, pgsql-hackers(at)postgreSQL(dot)org
Subject: Re: [HACKERS] Views on aggregates - need assistence
Date: 1998-02-23 20:05:14
Message-ID: 199802232005.PAA05809@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

>
> On Mon, 23 Feb 1998, Bruce Momjian wrote:
>
> > Actually, it does handle unions of views, but not views of unions.
> > Informix doesn't support it either, and I don't know what the other
> > dbms's do, but I think I am going to find out soon from someone. :-)
>
> What exactly would you like me to try here? *raised eyebrow*
>
>
>

create view as
select oid from pg_user union select oid from pg_class

or something like that. That will not work under PostgreSQL. But you
can use views as part of a union:

select oid from view1
union
select oid from view2

--
Bruce Momjian | 830 Blythe Avenue
maillist(at)candle(dot)pha(dot)pa(dot)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)

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Jan Wieck 1998-02-23 20:13:51 Re: [HACKERS] Re: [COMMITTERS] 'pgsql/src/bin/initdb initdb.sh'
Previous Message The Hermit Hacker 1998-02-23 20:02:41 Re: [HACKERS] Views on aggregates - need assistence