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

From: Andreas Joseph Krogh <andreak(at)officenet(dot)no>
To: pgsql-sql(at)postgresql(dot)org
Subject: Is index usage in LIKE-queries with UTF-8 implemented in PG-8.3 ?
Date: 2007-06-28 14:30:16
Message-ID: 200706281630.16455.andreak@officenet.no
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

Hi all.
Anybody knows if the following query will use an index-scan in PG-8.3?

SELECT name FROM person WHERE name LIKE 'and%';

I know this works in "C"-locale, but I need it with UTF-8, probably the rest
of the world soon too...

--
Andreas Joseph Krogh <andreak(at)officenet(dot)no>
Senior Software Developer / Manager
------------------------+---------------------------------------------+
OfficeNet AS | The most difficult thing in the world is to |
Karenslyst Allé 11 | know how to do a thing and to watch |
PO. Box 529 Skøyen | somebody else doing it wrong, without |
0214 Oslo | comment. |
NORWAY | |
Tlf: +47 24 15 38 90 | |
Fax: +47 24 15 38 91 | |
Mobile: +47 909 56 963 | |
------------------------+---------------------------------------------+

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message Pavel Stehule 2007-06-28 14:43:40 Re: Is index usage in LIKE-queries with UTF-8 implemented in PG-8.3 ?
Previous Message Dmitry Turin 2007-06-27 09:15:18 'comp.databases.theory'