Re: multi column foreign key for implicitly unique columns - Mailing list pgsql-sql

From Josh Berkus
Subject Re: multi column foreign key for implicitly unique columns
Date
Msg-id 200408190921.59529.josh@agliodbs.com
Whole thread Raw
In response to Re: multi column foreign key for implicitly unique columns  (Jan Wieck <JanWieck@Yahoo.com>)
Responses Re: multi column foreign key for implicitly unique columns
List pgsql-sql
Jan,

> Because the value in b.y is redundant. b.x->a.x->a.y is exactly the same
>   value and he even wants to ensure this with the constraint.

And in the absence of that constraint, what ensures that b.y = a.y, exactly?

-- 
Josh Berkus
Aglio Database Solutions
San Francisco


pgsql-sql by date:

Previous
From: Tom Lane
Date:
Subject: Re: Function Issue!
Next
From: Oliver Elphick
Date:
Subject: Re: multi column foreign key for implicitly unique columns