Re: select using regexp does not use indexscan

From: Stephan Szabo <sszabo(at)megazone(dot)bigpanda(dot)com>
To: carex <carex(at)skynet(dot)be>
Cc: pgsql-sql(at)postgresql(dot)org
Subject: Re: select using regexp does not use indexscan
Date: 2004-11-13 21:39:27
Message-ID: 20041113133651.A44723@megazone.bigpanda.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql


On Tue, 9 Nov 2004, carex wrote:

> And it works also perfectly with Gentoo.
>
> So,is this a typical "Redhat Enterprise" problem ?
> Or do I overlook something ??

IIRC, in 7.3.x, index scans are only considered in "C" locale for
regexp/LIKE. In 7.4.x, non-"C" locale databases can use a special
index of a different opclass (<typename>_pattern_ops I believe).

In response to

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message Karsten Hilbert 2004-11-13 22:48:32 Re: postgreSQL 8beta
Previous Message beyaNet 2004-11-13 14:35:09 postgreSQL 8beta