From: Oleg Bartunov <oleg@sai.msu.su>
To: Andreas Joseph Krogh <andreak@officenet.no>
Cc: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-sql@postgresql.org
Subject: Re: Is index usage in LIKE-queries with UTF-8 implemented in PG-8.3 ?
Date: Fri, 29 Jun 2007 11:31:09 +0400 (MSD)
Message-ID: <Pine.LNX.4.64.0706291126241.1881@sn.sai.msu.ru> (raw)
In-Reply-To: <200706281730.35560.andreak@officenet.no>
References: <200706281630.16455.andreak@officenet.no>
<5092.1183044056@sss.pgh.pa.us>
<200706281730.35560.andreak@officenet.no>
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@sai.msu.su, http://www.sai.msu.su/~megera/
phone: +007(495)939-16-83, +007(495)939-23-83
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-sql@postgresql.org
Cc: oleg@sai.msu.su, andreak@officenet.no, tgl@sss.pgh.pa.us
Subject: Re: Is index usage in LIKE-queries with UTF-8 implemented in PG-8.3 ?
In-Reply-To: <Pine.LNX.4.64.0706291126241.1881@sn.sai.msu.ru>
* 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