RE: Unique or Primary Key? - Mailing list pgsql-general

From Christian Marschalek
Subject RE: Unique or Primary Key?
Date
Msg-id 000001c0d3fe$91b6bcc0$0200a8c0@server
Whole thread Raw
In response to Re: Unique or Primary Key?  (Bruce Richardson <pgsql@itsbruce.uklinux.net>)
Responses RE: Unique or Primary Key?  (Joel Burton <jburton@scw.org>)
List pgsql-general
> Besides, I couldn't see much use in creating it as a primary
> key.  How
> would I ever reference it from another table?

What does this have to do with beeing a primary key?
Well you reference to primary keys as you do with others?!?

When you have for example user ids you shouldn't have a customer without
a number.. So a primary key would be a good idea, wouldn't it?


pgsql-general by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: ODBC 3.0 functions (UCASE, LCASE, etc.)
Next
From: Joel Burton
Date:
Subject: Re: Starting the Server at Boot