From: Bruno Wolff III <bruno@wolff.to>
To: jack <datactrl@tpg.com.au>
Cc: pgsql-sql@postgresql.org
Subject: Re: quastions about primary key
Date: Sat, 25 Jan 2003 22:23:39 -0600
Message-ID: <20030126042339.GA11365@wolff.to> (raw)
In-Reply-To: <000901c2c4e2$b7a1ea50$1400a8c0@jac>
References: <20030124071239.T30220-100000@megazone23.bigpanda.com>
<000901c2c4e2$b7a1ea50$1400a8c0@jac>
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.
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: bruno@wolff.to, datactrl@tpg.com.au
Subject: Re: quastions about primary key
In-Reply-To: <20030126042339.GA11365@wolff.to>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox