Re: NOTICE: CREATE TABLE / PRIMARY KEY will create implicit index - Mailing list pgsql-sql

From Ludwig Lim
Subject Re: NOTICE: CREATE TABLE / PRIMARY KEY will create implicit index
Date
Msg-id 20030122095311.49903.qmail@web80313.mail.yahoo.com
Whole thread Raw
In response to NOTICE: CREATE TABLE / PRIMARY KEY will create implicit index  ("David Durst" <ddurst@larubber.com>)
List pgsql-sql
--- David Durst <ddurst@larubber.com> wrote:
> Can anyone tell me why postgres is creating a
> implicit index when
> I already have a PKEY specified????
> 
> Or am I just interpreting this all wrong?
 PostgreSQL uses UNIQUE INDEX to enforce PRIMARY KEY
constraint. Therefore creating a PRIMARY KEY will
automatically create a UNIQUE INDEX.

ludwig.


__________________________________________________
Do you Yahoo!?
New DSL Internet Access from SBC & Yahoo!
http://sbc.yahoo.com


pgsql-sql by date:

Previous
From: Achilleus Mantzios
Date:
Subject: Re: optimal sql
Next
From: "Michael Paesold"
Date:
Subject: Re: optimal sql