Skip site navigation (1) Skip section navigation (2)

Re: multi column foreign key for implicitly unique columns

From: Markus Bertheau <twanger(at)bluetwanger(dot)de>
To: Jan Wieck <JanWieck(at)Yahoo(dot)com>
Cc: Josh Berkus <josh(at)agliodbs(dot)com>, olly(at)lfix(dot)co(dot)uk,pgsql-sql(at)postgresql(dot)org
Subject: Re: multi column foreign key for implicitly unique columns
Date: 2004-08-18 13:49:21
Message-ID: 1092836961.2630.3.camel@dicaprio.akademie1.de (view raw or flat)
Thread:
Lists: pgsql-sql
В Срд, 18.08.2004, в 15:33, Jan Wieck пишет:

> Meaning that not enforcing the uniqueness of those columns isn't an 
> option.

The thing is that the columns _are_ unique, there's just no unique
constraint on them. They are unique because there's a unique constraint
on a subset of these columns. So no additional uniqueness enforcing
needed.

-- 
Markus Bertheau <twanger(at)bluetwanger(dot)de>


In response to

Responses

pgsql-sql by date

Next:From: Jan WieckDate: 2004-08-18 14:06:47
Subject: Re: multi column foreign key for implicitly unique columns
Previous:From: Jan WieckDate: 2004-08-18 13:33:04
Subject: Re: multi column foreign key for implicitly unique columns

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group