Re: Indexes & Primary Keys (based on the same columns)

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Ow Mun Heng <Ow(dot)Mun(dot)Heng(at)wdc(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Indexes & Primary Keys (based on the same columns)
Date: 2007-10-22 03:55:16
Message-ID: 20552.1193025316@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Ow Mun Heng <Ow(dot)Mun(dot)Heng(at)wdc(dot)com> writes:
> I'm wondering if what I'm doing is redundant.
> I have a primary key on columns (A,B,C,D)
> and I've also defined an index based on the same columns (A,B,C,D)

Yup, 100% redundant.

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Guy Rouillier 2007-10-22 05:23:34 Re: looking for some real world performance numbers
Previous Message Ow Mun Heng 2007-10-22 03:53:47 Re: Indexes & Primary Keys (based on the same columns)