Re: [GENERAL] russian case-insensitive regexp search not working

2007-07-11 Thread alexander lunyov
) Yes, now when initdb done with --locale=ru_RU.UTF-8, lower('RussianString') gives me 'russianstring', though, case-insensiive regexp still not working. I guess i'll stick with lower() ~ lower() construction. And thanks everybody who replied! Oleg On Thu, 12 Jul 2007, alex

Re: [GENERAL] russian case-insensitive regexp search not working

2007-07-11 Thread alexander lunyov
Tom Lane wrote: alexander lunyov <[EMAIL PROTECTED]> 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". db=&

Re: [GENERAL] russian case-insensitive regexp search not working

2007-07-10 Thread alexander lunyov
(as we talked earlier), then how long will it take to fix it? I know little about postgresql development process, maybe you know it little better? -- alexander lunyov [EMAIL PROTECTED] ---(end of broadcast)--- TIP 5: don't forget to increase your free space map settings

Re: [GENERAL] russian case-insensitive regexp search not working

2007-07-09 Thread alexander lunyov
have first char capitalized, and result is the same. Seems that lower() can't lower multibyte character. db=> select lower('Зелен'); lower --- Зелен (1 запись) -- alexander lunyov [EMAIL PROTECTED] ---(end of broadcast)--

Re: [GENERAL] russian case-insensitive regexp search not working

2007-07-09 Thread alexander lunyov
with case-insensitive regexp does no work right now! On 09/07/07, alexander lunyov <[EMAIL PROTECTED]> wrote: Hello, friends. OS FreeBSD 6.2, Postgresql 8.2.4 Postgresql does not search case-insensitive russian regexp unicode patterns. Postgres is working under user pgsql with logi

[GENERAL] russian case-insensitive regexp search not working

2007-07-09 Thread alexander lunyov
ds, but they are with first capital character: db=> select street from people where street ~* 'Зелен'; street Зеленая Зеленоградская (2 rows) Search for english values work fine, russian values not. Why could it be? -- alexander lunyov [EMAIL PROTECTED] --