Re: locale in postgresql
От | Oliver Elphick |
---|---|
Тема | Re: locale in postgresql |
Дата | |
Msg-id | 199812130115.BAA04988@linda.lfix.co.uk обсуждение исходный текст |
Ответы |
Re: [GENERAL] Re: locale in postgresql
|
Список | pgsql-general |
Tamas Nyitrai wrote: [in relation to 6.3.2, where this happens: test=> select * from test; name ---- abc bca cab (3 rows) test=> select * from test where name like 'a%'; name ---- (0 rows)] >The bug with "select" is definitely a locale-bug! If I set the LANG >variable and restart the postmaster, then the 'a%' type select fails and >the ~'^a' form of select fails as well. > >If I comment the LANG variable and restart the postmaster then it works >fine again. I would like to sort the output according to the Hungarian >alphabetic, that is why I need to set LANG to hu_HU. > >This "select/locale" thing only happens - as far as I know it - if I use >text type fields in a table, but it is OK with char(). Has anyone else seen such a locale-based problem? I would like to establish whether it is a problem in postgresql or in libc. -- Oliver Elphick Oliver.Elphick@lfix.co.uk Isle of Wight http://www.lfix.co.uk/oliver PGP key from public servers; key ID 32B8FAA1 ======================================== "Be of good courage, and he shall strengthen your heart, all ye that hope in the LORD." Psalms 31:24
В списке pgsql-general по дате отправления: