Re: BUG #1394: LIKE doesn't seem to use an index

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: "Steve Nicolai" <steven(at)netopia(dot)com>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #1394: LIKE doesn't seem to use an index
Date: 2005-01-14 07:09:44
Message-ID: 200501140809.44991.peter_e@gmx.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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/

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Peter Eisentraut 2005-01-14 07:14:37 Re: BUG #1378: make check fails in float4 and float8
Previous Message Peter Eisentraut 2005-01-14 07:07:26 Re: BUG #1384: Bugs in PostgreSQl 8.0