From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | Karsten Hilbert <Karsten(dot)Hilbert(at)gmx(dot)net> |
Cc: | pgsql-general(at)postgresql(dot)org, alexander lunyov <lan(at)startatom(dot)ru> |
Subject: | Re: russian case-insensitive regexp search not working |
Date: | 2007-07-09 13:50:42 |
Message-ID: | 8279.1183989042@sss.pgh.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general pgsql-hackers |
Karsten Hilbert <Karsten(dot)Hilbert(at)gmx(dot)net> writes:
> On Mon, Jul 09, 2007 at 04:00:01PM +0400, alexander lunyov wrote:
>> I found this bug report:
>> http://archives.postgresql.org/pgsql-bugs/2006-09/msg00065.php
>>
>> Is it about this issue?
> Yes.
>> And will it be fixed someday?
> Likely. In the meantime lower() can come to the rescue.
It's not nearly as easy to fix as the reporter of that bug imagines,
because we don't know the relationship between pg_wchar representation
and the wchar_t representation assumed by the <wctype.h> functions.
In the short term it should work if you can use a single-byte encoding
(koi8r I suppose) and a locale setting compatible with that.
regards, tom lane
From | Date | Subject | |
---|---|---|---|
Next Message | Karsten Hilbert | 2007-07-09 14:02:32 | Re: russian case-insensitive regexp search not working |
Previous Message | Perry Smith | 2007-07-09 13:45:15 | Re: Database Insertion commitment |
From | Date | Subject | |
---|---|---|---|
Next Message | Zdenek Kotala | 2007-07-09 13:57:42 | Re: script binaries renaming |
Previous Message | Zdenek Kotala | 2007-07-09 13:48:03 | Re: script binaries renaming |