Re: LC_COLLATE=es_MX in PgSQL 7.3.2

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: LC_COLLATE=es_MX in PgSQL 7.3.2
Дата
Msg-id 26426.1055391587@sss.pgh.pa.us
обсуждение исходный текст
Ответ на LC_COLLATE=es_MX in PgSQL 7.3.2  ("Octavio Alvarez" <alvarezp@octavio.ods.org>)
Список pgsql-general
"Octavio Alvarez" <alvarezp@octavio.ods.org> writes:
> Ohh! Look at this... I think query #4 does not handle the accents
> correctly, and it should behave almost like #5 does, except for the record
> with p = 'R' which should be at the top (if they were #4's results).
> I'm using PGSQL 7.3.2 under Redhat Linux 8.0. The database was initialized
> with --lc-collate=es_MX.

How about --lc-ctype?  I think that accent handling would be driven by
LC_CTYPE not LC_COLLATE.  In any case, this is not a Postgres bug unless
you can show that other programs using the same LC_foo settings behave
differently.  We punt pretty much all locale-related processing to
subroutines in libc.

            regards, tom lane

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

Предыдущее
От: Ang Chin Han
Дата:
Сообщение: Re: Index not being used in MAX function (7.2.3)
Следующее
От: Tom Lane
Дата:
Сообщение: Re: need a method to ping a running database