Skip site navigation (1) Skip section navigation (2)

Re: String matching

From: Stephan Szabo <sszabo(at)megazone(dot)bigpanda(dot)com>
To: Ivan Voras <ivoras(at)fer(dot)hr>
Cc: PFC <lists(at)boutiquenumerique(dot)com>,pgsql-performance(at)postgresql(dot)org
Subject: Re: String matching
Date: 2005-02-14 22:12:49
Message-ID: 20050214141029.W9640@megazone.bigpanda.com (view raw or flat)
Thread:
Lists: pgsql-performance
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


In response to

Responses

pgsql-performance by date

Next:From: Ivan VorasDate: 2005-02-14 22:29:15
Subject: Re: String matching
Previous:From: Ivan VorasDate: 2005-02-14 20:45:00
Subject: Re: String matching

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group