Re: Bug #474: Index using problem

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Andreas Wernitznig <andreas(at)insilico(dot)com>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: Bug #474: Index using problem
Date: 2001-10-05 22:01:08
Message-ID: 24148.1002319268@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Andreas Wernitznig <andreas(at)insilico(dot)com> writes:
> Why don't you skip the automatic index creation for primary keys

And how then would we enforce uniqueness of the primary key?

> and let the user decide to create an index, that should be used in any
> case, regardless what the query planner recommends ?

What? AFAIR the planner does not even *know* whether an index is
associated with a primary key. It certainly does not give such an
index any special preference.

regards, tom lane

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Andreas Wernitznig 2001-10-05 22:37:10 Re: Bug #474: Index using problem
Previous Message Andreas Wernitznig 2001-10-05 21:58:19 Re: Bug #474: Index using problem