From: Martin Vassilev <mv@netsurf.bg>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #9722: select ILIKE is not case insensitive in UTF8 cyrillic
Date: Wed, 26 Mar 2014 17:35:44 +0200
Message-ID: <2539030.MTBRJ6mVrk@mv-office> (raw)
In-Reply-To: <20660.1395842315@sss.pgh.pa.us>
References: <20140325130316.13982.32775@wrigleys.postgresql.org>
<2263533.y3eBCCWX9p@mv-office>
<20660.1395842315@sss.pgh.pa.us>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>
On Wednesday, March 26, 2014 09:58:35 Tom Lane wrote:
> 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.
>
I just recreated DB with --lc-collate=bg_BG.utf8 --lc-ctype=bg_BG.utf8
and it is fine now.
Thanks for support.
--
Best regards ,
Martin Vassilev
Network/System Administrator
Net-Surf.net Ltd.
phone: + 359 96 399994
e-mail: mv@netsurf.bg
http://www.netsurf.bg
--
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: mv@netsurf.bg, tgl@sss.pgh.pa.us
Subject: Re: BUG #9722: select ILIKE is not case insensitive in UTF8 cyrillic
In-Reply-To: <2539030.MTBRJ6mVrk@mv-office>
References: <20140325130316.13982.32775@wrigleys.postgresql.org> <2263533.y3eBCCWX9p@mv-office> <20660.1395842315@sss.pgh.pa.us> <2539030.MTBRJ6mVrk@mv-office>
* 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