Re: quastions about primary key - Mailing list pgsql-sql

From Bruno Wolff III
Subject Re: quastions about primary key
Date
Msg-id 20030126042339.GA11365@wolff.to
Whole thread Raw
In response to Re: quastions about primary key  ("jack" <datactrl@tpg.com.au>)
List pgsql-sql
On Sun, Jan 26, 2003 at 12:29:12 +1000, jack <datactrl@tpg.com.au> wrote:
> 
> I try use uique instead of primary key. And it works, it allows null values.
> Is there any other difference between primary key and unique?

I believe that the primary key is the default key for foreign key references
into a table.


pgsql-sql by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: returning setof in plpgsql
Next
From: "David Durst"
Date:
Subject: ERROR: Cannot display a value of type RECORD