From: Stephan Szabo <sszabo@megazone23.bigpanda.com>
To: Katona Gabor <katonag@dragon.klte.hu>
Cc: pgsql-sql@postgresql.org
Subject: Re: How to union tables and have a field with UNIQUE constraint?
Date: Fri, 11 Jan 2002 16:51:56 -0800 (PST)
Message-ID: <20020111165115.D97125-100000@megazone23.bigpanda.com> (raw)
In-Reply-To: <Pine.GSO.4.10.10201040857160.4534-100000@dragon>
On Fri, 4 Jan 2002, Katona Gabor wrote:
>
>
> > I would argue that this should be disallowed, since it does not do
> > anything useful and can only mislead people into thinking that it
> > has some effect.
> >
> > Since triggers on a view won't do anything either, I don't see how one
> > could expect REFERENCES to a view to work. The system ought to reject
> > all this stuff as unimplemented.
>
> OK, I understand the problem with referencing a view and I changed my code
> to use CREATE TABLE AS instead of a view (the created table will change very
> rarely, so I'll update it then via a trigger). Is this way ok now and will
> work until the end of time :) ?
That doesn't sound like something that'll stop working, so you should be
safe.
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 using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: sszabo@megazone23.bigpanda.com, katonag@dragon.klte.hu
Subject: Re: How to union tables and have a field with UNIQUE constraint?
In-Reply-To: <20020111165115.D97125-100000@megazone23.bigpanda.com>
* 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