Re: Is index usage in LIKE-queries with UTF-8 implemented in PG-8.3 ?

From: Oleg Bartunov <oleg(at)sai(dot)msu(dot)su>
To: Andreas Joseph Krogh <andreak(at)officenet(dot)no>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, pgsql-sql(at)postgresql(dot)org
Subject: Re: Is index usage in LIKE-queries with UTF-8 implemented in PG-8.3 ?
Date: 2007-06-29 07:31:09
Message-ID: Pine.LNX.4.64.0706291126241.1881@sn.sai.msu.ru
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

On Thu, 28 Jun 2007, Andreas Joseph Krogh wrote:

> Anybody knows if queries of type "LIKE '%234%'" ever will be able to use
> indexes, and if someone is working on it? I'm sure I'm not the only one who
> would very much appreciate it:-)
>

This is quite easily could be done with tsearch using substring dictionary.
Search archives !

Regards,
Oleg
_____________________________________________________________
Oleg Bartunov, Research Scientist, Head of AstroNet (www.astronet.ru),
Sternberg Astronomical Institute, Moscow University, Russia
Internet: oleg(at)sai(dot)msu(dot)su, http://www.sai.msu.su/~megera/
phone: +007(495)939-16-83, +007(495)939-23-83

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message Andreas 2007-06-30 02:14:28 percentages of a column
Previous Message A. Kretschmer 2007-06-29 04:57:37 Re: record fields as columns in reports