Re: Pg uses non-unique index instead of pkey index

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Thalis A(dot) Kalfigopoulos" <thalis(at)cs(dot)pitt(dot)edu>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Pg uses non-unique index instead of pkey index
Date: 2001-06-25 21:41:18
Message-ID: 29531.993505278@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

"Thalis A. Kalfigopoulos" <thalis(at)cs(dot)pitt(dot)edu> writes:
> Why exactly is experimentsc_expid_i chosen over experimentsc_pkey?

There is no reason to prefer either one over the other. So you get
a quasi-random choice (whichever one the optimizer happens to consider
first, I think).

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Ed Loehr 2001-06-25 23:20:41 pgsql 7.1.2 server hanging...
Previous Message Jan Ploski 2001-06-25 20:37:41 RE: PostgreSQL: YMMV?