From: Tom Lane <tgl@sss.pgh.pa.us>
To: Martin Vassilev <mv@netsurf.bg>
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #9722: select ILIKE is not case insensitive in UTF8 cyrillic
Date: Wed, 26 Mar 2014 09:58:35 -0400
Message-ID: <20660.1395842315@sss.pgh.pa.us> (raw)
In-Reply-To: <2263533.y3eBCCWX9p@mv-office>
References: <20140325130316.13982.32775@wrigleys.postgresql.org>
<12952.1395757275@sss.pgh.pa.us>
<2263533.y3eBCCWX9p@mv-office>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>
Martin Vassilev <mv@netsurf.bg> writes:
> Hi Tom,
>> Perhaps you don't have the database locale/encoding set correctly?
>> (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 :(
That's not a reason not to identify what you've got now.
> Here is my locale settings:
> ~# locale
> LANG=en_US.UTF-8
> LC_CTYPE="en_US.UTF-8"
> LC_COLLATE=C
This is your shell environment, which may or may not have much to do with
what Postgres is using: you need to look at the lc_collate and lc_ctype
parameters for each database. However, it would not surprise me at all
if an en_US setting doesn't case-fold Cyrillic characters --- and a C
setting most certainly wouldn't.
regards, tom lane
--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-bugs@postgresql.org
Cc: tgl@sss.pgh.pa.us, mv@netsurf.bg
Subject: Re: BUG #9722: select ILIKE is not case insensitive in UTF8 cyrillic
In-Reply-To: <20660.1395842315@sss.pgh.pa.us>
References: <20140325130316.13982.32775@wrigleys.postgresql.org> <12952.1395757275@sss.pgh.pa.us> <2263533.y3eBCCWX9p@mv-office> <20660.1395842315@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox