Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 1581A475EDC for ; Wed, 22 Jan 2003 04:53:11 -0500 (EST) Received: from web80313.mail.yahoo.com (web80313.mail.yahoo.com [66.218.79.29]) by postgresql.org (Postfix) with SMTP id 3231A475DC5 for ; Wed, 22 Jan 2003 04:53:10 -0500 (EST) Message-ID: <20030122095311.49903.qmail@web80313.mail.yahoo.com> Received: from [203.87.150.116] by web80313.mail.yahoo.com via HTTP; Wed, 22 Jan 2003 01:53:11 PST Date: Wed, 22 Jan 2003 01:53:11 -0800 (PST) From: Ludwig Lim Subject: Re: NOTICE: CREATE TABLE / PRIMARY KEY will create implicit index To: ddurst@larubber.com Cc: PostgreSQL Mailing List In-Reply-To: <34547.216.86.192.34.1043230292.squirrel@www.la-rubber.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200301/327 X-Sequence-Number: 11192 --- David Durst 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