UNION on views in 7.1

From: "Dan Wilson" <phpPgAdmin(at)acucore(dot)com>
To: "pgsql general" <pgsql-general(at)postgresql(dot)org>
Subject: UNION on views in 7.1
Date: 2001-01-25 07:45:06
Message-ID: 000201c086ac$adfd00f0$078353d8@danwilson
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Are UNIONs on views impemented in 7.1? I see several enahncements to the
view functionality in the TODO, but not this specifically. If not in 7.1,
is it planned for a future release?

-Dan

PostgreSQL said: ERROR: UNION on views is not implemented

Your query:
create view user_friend_vw
as
select
username, password, friend_id, last_name, given_names
from
friend f, auth a where a.pri_key = f.friend_id
and a.auth_table = 'friends' and a.live = 't'
UNION
select
username, password, uid, last_name, first_name
from
user_info u, auth a where a.live = 't'
and a.pri_key = u.uid and a.auth_table = 'user_info'

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Esa Pikkarainen 2001-01-25 08:01:21 Re: If test in sql??
Previous Message Lincoln Yeoh 2001-01-25 05:25:18 Re: Re: MySQL has transactions