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

Поиск
Список
Период
Сортировка
От Andreas Joseph Krogh
Тема Is index usage in LIKE-queries with UTF-8 implemented in PG-8.3 ?
Дата
Msg-id 200706281630.16455.andreak@officenet.no
обсуждение исходный текст
Ответы Re: Is index usage in LIKE-queries with UTF-8 implemented in PG-8.3 ?  ("Pavel Stehule" <pavel.stehule@gmail.com>)
Re: Is index usage in LIKE-queries with UTF-8 implemented in PG-8.3 ?  (Tom Lane <tgl@sss.pgh.pa.us>)
Список 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@officenet.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 |                                             |
------------------------+---------------------------------------------+


В списке pgsql-sql по дате отправления:

Предыдущее
От: Michael Landin Hostbaek
Дата:
Сообщение: Re: Where clause
Следующее
От: "Pavel Stehule"
Дата:
Сообщение: Re: Is index usage in LIKE-queries with UTF-8 implemented in PG-8.3 ?