Skip site navigation (1) Skip section navigation (2)

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: (view raw, whole thread or download thread mbox)
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


pgsql-bugs by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group