Re: OK, that's one LOCALE bug report too many...

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: OK, that's one LOCALE bug report too many...
Дата
Msg-id Pine.LNX.4.21.0011252233370.1028-100000@peter.localdomain
обсуждение исходный текст
Ответ на Re: OK, that's one LOCALE bug report too many...  (Lamar Owen <lamar.owen@wgcr.org>)
Ответы Re: OK, that's one LOCALE bug report too many...  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Lamar Owen writes:

> Ok, let me repeat -- the '--enable-locale' setting will not affect the
> collation sequence problem on RedHat.  If you set PostgreSQL to use
> locale, it uses it.  If you configure PostgreSQL to not use locale, the
> collation set by LANG, LC_ALL, or LC_COLLATE is _STILL_ honored, thanks
> to the libc used.

Well, I'm looking at Red Hat 7.0 here and the locale variables are most
certainly getting ignored in the default compile.  Moreover, at no point
did strncmp() in glibc behave as you claim.  You can look at it yourself
here:

http://subversions.gnu.org/cgi-bin/cvsweb/glibc/sysdeps/generic/strncmp.c

-- 
Peter Eisentraut      peter_e@gmx.net       http://yi.org/peter-e/



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: 7.0.2 -> 7.0.3 problem
Следующее
От: Tom Lane
Дата:
Сообщение: Re: OK, that's one LOCALE bug report too many...