Collating Question...

Поиск
Список
Период
Сортировка
От Jerry LeVan
Тема Collating Question...
Дата
Msg-id 3272644A-DF8A-4C5F-94C3-C25ED7D2B51F@eku.edu
обсуждение исходный текст
Ответы Re: Collating Question...  (Michael Glaesemann <grzm@seespotcode.net>)
Список pgsql-general
Hi,

I am running 8.2.1 on my Mac OS X  and my X86 Fedora Laptop...

I just noticed that on my mac:

levan=# select 'A' < 'a' ;
?column?
----------
t
(1 row)

and on the linux box:

levan=# select 'A' < 'a' ;
?column?
----------
f
(1 row)

The locale function on the mac has everything set to "C"
and on the linux box it is all "en_US.UTF-8".

Is there a simple way to get the collating sequences to be
the same on both boxen?

If I do an "order by <text>" on the mac then if the referenced
field starts with a lower case letter then it will appear after
all of the fields that start with an upper case letter....

Thanks,

Jerry






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

Предыдущее
От: Jorge Godoy
Дата:
Сообщение: Re: Improve Postgres Query Speed
Следующее
От: Michael Glaesemann
Дата:
Сообщение: Re: Collating Question...