Re: Searching accented words

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Searching accented words
Дата
Msg-id 13800.1027543749@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Searching accented words  (João Paulo Batistella <batistellabr@yahoo.com.br>)
Ответы Re: Searching accented words  (Stephane Bortzmeyer <bortzmeyer@nic.fr>)
Список pgsql-general
=?iso-8859-1?q?Jo=E3o=20Paulo=20Batistella?= <batistellabr@yahoo.com.br> writes:
> How can I perform a query that return the two rows, no
> matter I pass 'Jos�' or 'Jose' as parameter?

If your locale is set up correctly, perhaps upper() would return
JOSE for both, and then you could search on upper(name) = 'JOSE'.
(You can make this fast with an index on upper(name).)

            regards, tom lane

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: COPY taking forever, I just want to end it!
Следующее
От: "Beth Gatewood"
Дата:
Сообщение: Re: COPY taking forever, I just want to end it!