Re: Indexed leading substring searches - worked, now doesn't

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Wes <wespvp(at)syntegra(dot)com>
Cc: Postgresql-General <pgsql-general(at)postgresql(dot)org>
Subject: Re: Indexed leading substring searches - worked, now doesn't
Date: 2005-02-03 22:32:11
Message-ID: 5638.1107469931@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Wes <wespvp(at)syntegra(dot)com> writes:
> As an interim solution until I can reload the database (takes a weekend),
> can I define two indexes on the same field, one using operator classes and
> one not (and have them automatically used as appropriate)?

Certainly.

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Andrew Hall 2005-02-03 22:47:01 Lost rows/data corruption?
Previous Message Pritesh Shah 2005-02-03 22:20:21 errors while restoring data.