From: Gordon A. Runkle <gar@integrated-dynamics.com>
To: pgsql-sql@postgresql.org
Subject: Re: Re: UNION in a VIEW?
Date: Thu, 05 Apr 2001 11:21:36 -0400
Message-ID: <9ai25s$1bmf$1@news.tht.net> (raw)
References: <web-34336@davinci.ethosmedia.com>
In article <web-34336@davinci.ethosmedia.com>, "Josh Berkus"
<josh@agliodbs.com> wrote:
> Tom ... and I realize that we're talking about features for version 7.3
> or later ... a direct way to approach it would be to do a push-down on
> simple UNION views, and to do output filtering on UNION views wich
> contain a CASE, any subselect, or CAST expression (or similar) on the
> filtered columns.
This sounds right to me. (Which is easy for me to say, as
I'm not the one with the know-how to actually do it!) I'd
like to see cases like my example (simple joins) work, since
that's the main reason for doing the UNION in the first place.
I came up with a data workaround in my case, so I'm set for now)
Gordon.
--
It doesn't get any easier, you just go faster.
-- Greg LeMond
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-sql@postgresql.org
Cc: gar@integrated-dynamics.com
Subject: Re: UNION in a VIEW?
In-Reply-To: <9ai25s$1bmf$1@news.tht.net>
References: <web-34336@davinci.ethosmedia.com> <9ai25s$1bmf$1@news.tht.net>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox