pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Carlo Stonebanks <stonec.register@sympatico.ca>
Cc: pgsql-performance@postgresql.org
Subject: Re: Performace Optimization for Dummies
Date: Fri, 29 Sep 2006 00:49:37 -0400
Message-ID: <9973.1159505377@sss.pgh.pa.us> (raw)
In-Reply-To: <efi8fi$27in$1@news.hub.org>
References: <efgu4v$276m$1@news.hub.org>
	<b42b73150609281017m7f8f9d86xfa32d38cec954af7@mail.gmail.com>
	<efh26m$2fd$1@news.hub.org>
	<b42b73150609281306r4806ab8fy7ddbb2fac31276d2@mail.gmail.com>
	<efi8fi$27in$1@news.hub.org>

"Carlo Stonebanks" <stonec.register@sympatico.ca> writes:
> But is there any way to create an index expression that will help with:
> where foo like '%bar%'?

If you are concerned about that, what you are probably really looking
for is full-text indexing.  See contrib/tsearch2 for our current best
answer to that.

			regards, tom lane



view thread (40+ messages)  latest in thread

Message-ID: <9973.1159505377@sss.pgh.pa.us>
Permalink:  ../9973.1159505377@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/9973.1159505377@sss.pgh.pa.us

 · 

reply

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-performance@postgresql.org
  Cc: tgl@sss.pgh.pa.us, stonec.register@sympatico.ca
  Subject: Re: Performace Optimization for Dummies
  In-Reply-To: <9973.1159505377@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