From: Tom Lane <tgl@sss.pgh.pa.us>
To: Daniel J. Summers <daniel@djs-consulting.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: "like" and index
Date: Wed, 25 Feb 2009 19:31:25 -0500
Message-ID: <7549.1235608285@sss.pgh.pa.us> (raw)
In-Reply-To: <49A5DC53.7030107@djs-consulting.com>
References: <8f750b7c0902250259w6065515as350aca3b5d7d8173@mail.gmail.com>
<49A553B8.2040009@djs-consulting.com>
<49A5B703.7080700@gmail.com>
<49A5DC53.7030107@djs-consulting.com>
"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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-admin@postgresql.org
Cc: tgl@sss.pgh.pa.us, daniel@djs-consulting.com
Subject: Re: "like" and index
In-Reply-To: <7549.1235608285@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox