Re: Question about encoding

Поиск
Список
Период
Сортировка
От Albe Laurenz
Тема Re: Question about encoding
Дата
Msg-id 52EF20B2E3209443BC37736D00C3C1380BA5FEE5@EXADV1.host.magwien.gv.at
обсуждение исходный текст
Ответ на 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 ?

Maybe something like this can help you:

test=> select to_ascii(convert('tête-à-tête français', 'LATIN9'),'LATIN9');
       to_ascii
----------------------
 tete-a-tete francais
(1 row)

If your database encoding is already LATIN9, you can omit the convert().

Yours,
Laurenz Albe

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

Предыдущее
От: George Weaver
Дата:
Сообщение: Re: A generic trigger to log chanes on database tables
Следующее
От: "Olexandr Melnyk"
Дата:
Сообщение: Re: Development of cross-platform GUI for Open Source DBs