Re: BUG #13997: does not work ILIKE + UTF8

Поиск
Список
Период
Сортировка
От Shulgin, Oleksandr
Тема Re: BUG #13997: does not work ILIKE + UTF8
Дата
Msg-id CACACo5RePbe3WVjPq3X92jH2Z27TwP5PEkF8B41rXoaPbCbRnQ@mail.gmail.com
обсуждение исходный текст
Ответ на BUG #13997: does not work ILIKE + UTF8  (woodman@adea74.ru)
Список pgsql-bugs
On Thu, Mar 3, 2016 at 5:23 AM, <woodman@adea74.ru> wrote:

> The following bug has been logged on the website:
>
> Bug reference:      13997
> Logged by:          Max
> Email address:      woodman@adea74.ru
> PostgreSQL version: 9.4.6
> Operating system:   Centos 6
> Description:
>
> Hi, does not work ILIKE. Language - Russain, encoding - UTF8.
>

Hello,

In order to diagnose the issue, please provide a minimal SQL statement to
reproduce the issue, any error message you get or expected result vs.
actual result.  Please also provide output of psql \l command on the
database where you experience the issue, e.g:

=3D# \l test_ilike
                           List of databases
    Name    |  Owner   | Encoding | Collate | Ctype | Access privileges
------------+----------+----------+---------+-------+-------------------
 test_ilike | oshulgin | LATIN1   | C       | C     |
(1 row)

=3D# select '=D1=82=D0=B5=D1=81=D1=82' ilike '=D0=A2=D0=95=D0=A1=D0=A2';
ERROR:  character with byte sequence 0xd1 0x82 in encoding "UTF8" has no
equivalent in encoding "LATIN1"

--
Alex

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

Предыдущее
От: rsimeon@ebms.com
Дата:
Сообщение: BUG #13999: pg_upgrade failing with FATAL: unrecognized configuration parameter "unix_socket_directory"
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: BUG #13844: Logical decoding bug with subxact + row locking