Re: Regexps and Indices.

From: Stephan Szabo <sszabo(at)megazone23(dot)bigpanda(dot)com>
To: Brian Piatkus <Brian(at)fulcrum(dot)plus(dot)com>
Cc: <pgsql-general(at)postgresql(dot)org>
Subject: Re: Regexps and Indices.
Date: 2003-04-22 19:59:00
Message-ID: 20030422125806.H71326-100000@megazone23.bigpanda.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general


On Tue, 22 Apr 2003, Brian Piatkus wrote:

> Hi,
> I'm sure that this has come up many times before but :
>
> I have just upgraded from 7.0.2 to 7.2.2 using the latest Mandrake 9.0 RPMS.
> The database structure is unchanged but I now find that the db refuses to use
> the available index WHERE NAME ~ '^NAME' even with enable_seqscan set off. Am
> I missing something ?

It's possible that you initialized the database in something other than
"C" locale which disables the optimization that uses indexes for
regexp/like (see past discussions in the archives for details).

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Andre Truter 2003-04-22 21:12:19 Using Postgres shared objects in Kylix 3 C++
Previous Message Jonathan Bartlett 2003-04-22 19:29:55 Re: Regexps and Indices.