From: Stephan Szabo <sszabo@megazone.bigpanda.com>
To: Ivan Voras <ivoras@fer.hr>
Cc: PFC <lists@boutiquenumerique.com>
Cc: pgsql-performance@postgresql.org
Subject: Re: String matching
Date: Mon, 14 Feb 2005 14:12:49 -0800 (PST)
Message-ID: <20050214141029.W9640@megazone.bigpanda.com> (raw)
In-Reply-To: <42110DCC.4040706@fer.hr>
References: <421102A7.4090006@fer.hr>
<opsl7d8pkvth1vuj@musicbox>
<42110AB2.1010903@fer.hr>
<20050214124119.C4920@megazone.bigpanda.com>
<42110DCC.4040706@fer.hr>
On Mon, 14 Feb 2005, Ivan Voras wrote:
> Stephan Szabo wrote:
>
> > You can also create an index using a <typename>_pattern_ops operator
> > class which should be usable even with other collations.
>
> Could you give me an example for this, or point me to the relevant
> documentation?
Basically, you could have something like:
create table test_table(a text);
create index test_index on test_table(a text_pattern_ops);
------------------------------------------------------------------
http://www.postgresql.org/docs/8.0/interactive/indexes-opclass.html
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: sszabo@megazone.bigpanda.com, ivoras@fer.hr, lists@boutiquenumerique.com
Subject: Re: String matching
In-Reply-To: <20050214141029.W9640@megazone.bigpanda.com>
* 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