Re: default index created for primary key

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "vinita bansal" <sagivini(at)hotmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: default index created for primary key
Date: 2004-12-22 16:41:39
Message-ID: 4585.1103733699@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

"vinita bansal" <sagivini(at)hotmail(dot)com> writes:
> I want to turn off the default setting in postgres for index creation on
> primary key of a table. Is it possible and how?

No. The index is needed to enforce the unique constraint.

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2004-12-22 16:46:54 Re: Strange Index behavior
Previous Message Mike Mascari 2004-12-22 16:41:00 Re: [GENERAL] nice work on the new site