Re: Regexps and Indices. - Mailing list pgsql-general

From Stephan Szabo
Subject Re: Regexps and Indices.
Date
Msg-id 20030422125806.H71326-100000@megazone23.bigpanda.com
Whole thread Raw
In response to Regexps and Indices.  (Brian Piatkus <Brian@fulcrum.plus.com>)
Responses Re: Regexps and Indices.  (Brian Piatkus <Brian@fulcrum.plus.com>)
List 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).


pgsql-general by date:

Previous
From: Jonathan Bartlett
Date:
Subject: Re: Regexps and Indices.
Next
From: Andre Truter
Date:
Subject: Using Postgres shared objects in Kylix 3 C++