Re: re: 7.1.2 and foreign key unique constraint. - Mailing list pgsql-general

From Stephan Szabo
Subject Re: re: 7.1.2 and foreign key unique constraint.
Date
Msg-id Pine.BSF.4.21.0108031348170.17100-100000@megazone23.bigpanda.com
Whole thread Raw
In response to Re: re: 7.1.2 and foreign key unique constraint.  (patrick keshishian <patrick+pgsql@pioneerdigital.com>)
List pgsql-general
On Fri, 3 Aug 2001, patrick keshishian wrote:

> Thanks for your reply and suggestions.  I was hoping for a
> solution that would not require me to break apart any of the
> tables or employ new ones.
>
> But apparently i have no choice.
>
> One would think that there would a such a construct defined in
> SQL for specifying a field in a table with restriction placed on
> its values based on values in a 'foreign table field'.

Technically, you would be able to handle this through a subquery
in a check constraint, however we don't support this currently
(it's a non-trivial problem to solve for a potentially complicated
query).


pgsql-general by date:

Previous
From: Trond Eivind Glomsrød
Date:
Subject: Re: HELP! BUG? pg_dump mucks up grant/revoke
Next
From: caldodge@fpcc.net (Calvin Dodge)
Date:
Subject: Re: Where is the database located in 7.1.2?