Re: Questions about indexes

From: Frank Bax <fbax(at)sympatico(dot)ca>
To: DaVinci <bombadil(at)wanadoo(dot)es>, Renaud Thonnart <thonnart(at)amwdb(dot)u-strasbg(dot)fr>
Cc: "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>
Subject: Re: Questions about indexes
Date: 2001-05-09 11:46:19
Message-ID: 3.0.6.32.20010509074619.01dff100@pop6.sympatico.ca
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

At 11:10 AM 5/9/01 +0200, DaVinci wrote:
>On Wed, May 09, 2001 at 10:31:27AM +0200, Renaud Thonnart wrote:
>> How can I delete them in keeping integrity in the database?
>
> drop index?...

Dropping the index will not maintain the PK integrity...

http://www.ca.postgresql.org/users-lounge/docs/7.1/reference/sql-createtable
.html
says:
PRIMARY KEY Constraint
Notes:
Postgres automatically creates a unique index to assure data integrity (see
CREATE INDEX statement).

Frank

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Tatsuo Ishii 2001-05-09 11:59:07 Re: Charset and encoding
Previous Message Keith Siu 2001-05-09 10:51:01 Drop view