From: Christopher Kings-Lynne <chriskl@familyhealth.com.au>
To: Andrea Arcangeli <andrea@cpushare.com>
Cc: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-performance@postgresql.org
Subject: Re: NOT LIKE much faster than LIKE?
Date: Tue, 10 Jan 2006 10:29:05 +0800
Message-ID: <43C31BF1.704@familyhealth.com.au> (raw)
In-Reply-To: <20060110022303.GA20168@opteron.random>
References: <20060110014447.GB18474@opteron.random>
<24021.1136858688@sss.pgh.pa.us>
<20060110022303.GA20168@opteron.random>
> UNLIKELY string LIKE '%% PREEMPT %%'
>
> or:
>
> LIKELY string NOT LIKE '%% PREEMPT %%'
You should be using contrib/tsearch2 for an un-anchored text search perhaps?
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-performance@postgresql.org
Cc: chriskl@familyhealth.com.au, andrea@cpushare.com, tgl@sss.pgh.pa.us
Subject: Re: NOT LIKE much faster than LIKE?
In-Reply-To: <43C31BF1.704@familyhealth.com.au>
References: <20060110014447.GB18474@opteron.random> <24021.1136858688@sss.pgh.pa.us> <20060110022303.GA20168@opteron.random> <43C31BF1.704@familyhealth.com.au>
* 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