Re: BUG #9722: select ILIKE is not case insensitive in UTF8 cyrillic

From: Martin Vassilev <mv(at)netsurf(dot)bg>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #9722: select ILIKE is not case insensitive in UTF8 cyrillic
Date: 2014-03-26 07:55:21
Message-ID: 2263533.y3eBCCWX9p@mv-office
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Hi Tom,
thanks for reply.
> Perhaps you don't have the database locale/encoding set correctly?

test1=# show server_encoding;
server_encoding
-----------------
UTF8
(1 row)

> (Look at the lc_collate and lc_ctype settings, and compare to what
> you were using in 8.4.)
the 8.4 setup is gone :(
>
> Another possibility is that you changed machines and the new OS
> doesn't have the right Cyrillic locale definition. PG mostly depends
> on the OS' locale features to implement things like case folding.
Here is my locale settings:

~# locale
LANG=en_US.UTF-8
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE=C
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=

--

Best regards ,
Martin Vassilev
Network/System Administrator

Net-Surf.net Ltd.
phone: + 359 96 399994
e-mail: mv(at)netsurf(dot)bg
http://www.netsurf.bg

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message maxim.boguk 2014-03-26 12:11:11 BUG #9735: Error: "ERROR: tuple offset out of range: 0" during bitmap scan
Previous Message Daniel Hahler 2014-03-25 18:04:00 Re: BUG #9721: Fatal error on startup: no free slots in PMChildFlags array