Re: russian case-insensitive regexp search not working

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: alexander lunyov <lan(at)startatom(dot)ru>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: russian case-insensitive regexp search not working
Date: 2007-07-10 13:54:53
Message-ID: 18790.1184075693@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-hackers

alexander lunyov <lan(at)startatom(dot)ru> writes:
> With this i just wanted to say that lower() doesn't work at all on
> russian unicode characters,

In that case you're using the wrong locale (ie, not russian unicode).
Check "show lc_ctype".

Or [ checks back in thread... ] maybe you're using the wrong operating
system. Not so long ago FreeBSD didn't have Unicode locale support at
all; I'm not sure if 6.2 has that problem but it is worth checking.
Does it work for you to do case-insensitive russian comparisons in
"grep", for instance?

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tomasz Ostrowski 2007-07-10 14:44:54 Re: TOAST, large objects and ACIDity
Previous Message Alexander Staubo 2007-07-10 13:48:29 Re: TOAST, large objects and ACIDity

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2007-07-10 14:34:39 Re: Maintaining cluster order on insert
Previous Message Tom Lane 2007-07-10 13:41:01 Re: Maintaining cluster order on insert