Re: foreign SERIAL keys in weak entity primary keys - Mailing list pgsql-general

From Tom Lane
Subject Re: foreign SERIAL keys in weak entity primary keys
Date
Msg-id 10994.1047269536@sss.pgh.pa.us
Whole thread Raw
In response to foreign SERIAL keys in weak entity primary keys  ("Thomas Hood" <s0096184@sms.ed.ac.uk>)
List pgsql-general
"Thomas Hood" <s0096184@sms.ed.ac.uk> writes:
> The table Inventory has tuples which have minimal candidate key of (IID,
> PackSize), yet for some reason it insists on making IID * WID unique
> columns!

In versions before 7.3, SERIAL implies UNIQUE.  If you don't like that,
update ...

            regards, tom lane

pgsql-general by date:

Previous
From: "Thomas Hood"
Date:
Subject: foreign SERIAL keys in weak entity primary keys
Next
From: Dennis Björklund
Date:
Subject: Re: foreign SERIAL keys in weak entity primary keys