Re: BUG #1394: LIKE doesn't seem to use an index - Mailing list pgsql-bugs

From Peter Eisentraut
Subject Re: BUG #1394: LIKE doesn't seem to use an index
Date
Msg-id 200501140809.44991.peter_e@gmx.net
Whole thread Raw
In response to BUG #1394: LIKE doesn't seem to use an index  ("Steve Nicolai" <steven@netopia.com>)
List pgsql-bugs
Steve Nicolai wrote:
> The software uses the like operator to select these related objects.
> That gets slower as the number of objects increase, even though there
> is an index on id.

See this page for how to create correct indexes for pattern matching
operators:

http://www.postgresql.org/docs/7.4/static/indexes-opclass.html

--
Peter Eisentraut
http://developer.postgresql.org/~petere/

pgsql-bugs by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: BUG #1384: Bugs in PostgreSQl 8.0
Next
From: Peter Eisentraut
Date:
Subject: Re: BUG #1378: make check fails in float4 and float8