Re: Best way to use indexes for partial match at

From: Scott Marlowe <smarlowe(at)g2switchworks(dot)com>
To: Peter Eisentraut <peter_e(at)gmx(dot)net>
Cc: Andrus <eetasoft(at)online(dot)ee>, pgsql-general(at)postgresql(dot)org
Subject: Re: Best way to use indexes for partial match at
Date: 2005-11-10 15:35:46
Message-ID: 1131636946.3554.62.camel@state.g2switchworks.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Thu, 2005-11-10 at 07:45, Peter Eisentraut wrote:
> Am Donnerstag, 10. November 2005 10:19 schrieb Andrus:
> > thank you. I don't understand how to delete primary key index without
> > removing primary key constraint or how to force primary key to use foo_bar
> > index.
>
> You cannot drop the primary key index without dropping the primary key, and
> you cannot change the primary key to use a different index.

Ya know, this brings up an interesting question, would it be feasible to
allow for a function of somekind to be applied as an argument to a
primary key declaration? It would certainly be useful for character
type pks in non-C locales.

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message juleni 2005-11-10 15:37:36 TIMESTAMP vs TIMESTAMP WITHOUT TIME ZONE
Previous Message Tom Lane 2005-11-10 14:37:38 Re: Postmaster failing to start on reboot