From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | Stephan Szabo <sszabo(at)megazone23(dot)bigpanda(dot)com> |
Cc: | pgsql-sql(at)postgresql(dot)org |
Subject: | Re: How to union tables and have a field with UNIQUE constraint? |
Date: | 2002-01-03 23:26:41 |
Message-ID: | 1002.1010100401@sss.pgh.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-sql |
Stephan Szabo <sszabo(at)megazone23(dot)bigpanda(dot)com> writes:
>> 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.
> I think that the insert/update on the fk table will work, but yeah, the
> parts on the pk table won't, so that's no good. I wouldn't want to
> bother for 7.2, but putting in something to make it so you can't reference
> a view is probably a good idea, at least until we can work out a way
> to make constraints on views work.
Investigation showed that there were a couple of other utility
statements that were also missing adequate checks on permissions and
table type. I've applied patches.
regards, tom lane
From | Date | Subject | |
---|---|---|---|
Next Message | Richard Rowell | 2002-01-03 23:27:59 | top? |
Previous Message | Stephan Szabo | 2002-01-03 21:44:35 | Re: How to union tables and have a field with UNIQUE constraint? |