Re: Question about encoding

Поиск
Список
Период
Сортировка
От Richard Broersma Jr
Тема Re: Question about encoding
Дата
Msg-id 523023.44829.qm@web31815.mail.mud.yahoo.com
обсуждение исходный текст
Ответ на Question about encoding  ("Daniel Serodio" <dserodio@gmail.com>)
Ответы Re: Question about encoding  ("Daniel Serodio" <dserodio@gmail.com>)
Список pgsql-general
> Is it possible to configure PostgreSQL so that a " LIKE 'a' " query
> will match a 'á' value, ie, make it accent-insensitive ?

I forgot this was possible using regular expressions. I don't think it is possible using the LIKE
syntax.  if you use something like:

select * from yourtable
where yourstring ~ '[=e=]';

http://www.postgresql.org/docs/8.2/interactive/functions-matching.html#POSIX-BRACKET-EXPRESSIONS

Regards,

Richard Broersma Jr.

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

Предыдущее
От: "Uwe C. Schroeder"
Дата:
Сообщение: Re: Connecting via ssh tunnel
Следующее
От: Scott Ribe
Дата:
Сообщение: Re: NULLs ;-)