Re: PostgreSQL, Mac OS X and locales

Поиск
Список
Период
Сортировка
От Guido Neitzer
Тема Re: PostgreSQL, Mac OS X and locales
Дата
Msg-id BF08ADAC-9BB6-40D7-8582-94AAB018E01E@pharmaline.de
обсуждение исходный текст
Ответ на Re: PostgreSQL, Mac OS X and locales  (Martijn van Oosterhout <kleptog@svana.org>)
Ответы Re: PostgreSQL, Mac OS X and locales  (Martijn van Oosterhout <kleptog@svana.org>)
Список pgsql-general
On 01.11.2005, at 23:24 Uhr, Martijn van Oosterhout wrote:

> PostgreSQL should get the same results as the command-line sort for
> the
> same values of LC_COLLATE. However, the value is fixed at initdb time
> so maybe that's what's confusing you.

Yes, it gets the same results as sort.

I have tried several encoding/locale settings with initdb.

> However, MacOS X inherited FreeBSDs locale setup, which is fairly
> lame.
> They've made many improvements though so your problem should be
> fixable.
>
> BTW, you didn't actually say what locale you where using...

I mostly use UTF-8, so I have called initdb with "-E UTF-8 --
locale=de_DE.UTF-8".

The LC_COLLATE for this locale is a link pointing to "../la_LN.US-
ASCII/LC_COLLATE". This is why I don't think they paid much attention
to the correct sort order of umlauts.

But I have also tried ISO-5589-, ISO-8859-15 and others. No change.
May I take an LC_COLLATE file from another system and use this?

cug

Вложения

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

Предыдущее
От: Jan Wieck
Дата:
Сообщение: Re: mysql replace in postgreSQL?
Следующее
От: Tino Wildenhain
Дата:
Сообщение: Re: mysql replace in postgreSQL?