Re: "like" and index - Mailing list pgsql-admin

From Tom Lane
Subject Re: "like" and index
Date
Msg-id 7549.1235608285@sss.pgh.pa.us
Whole thread Raw
In response to Re: "like" and index  ("Daniel J. Summers" <daniel@djs-consulting.com>)
List pgsql-admin
"Daniel J. Summers" <daniel@djs-consulting.com> writes:
> MySQL will only use it if the wildcard isn't in the front (1) and
> requires the MATCH keyword to search full-text indexes (2), Oracle
> requires special "full-text" indexes to be able to use for LIKE (3)
> (actually dealt with that at work a few months back), SQL Server only
> uses it under certain conditions (4), and even PostgreSQL (the great
> subject of this mailing list) doesn't do it with a standard index (5) -
> you've got to use a special operator class.

Only if you're using a non-C locale.

            regards, tom lane

pgsql-admin by date:

Previous
From: "Daniel J. Summers"
Date:
Subject: Re: "like" and index
Next
From: Ashish Karalkar
Date:
Subject: Re: Replicating between different Slony versions?