Re: Locale settings

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Locale settings
Дата
Msg-id 15181.1019488568@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Locale settings  ("Tille, Andreas" <TilleA@rki.de>)
Ответы Re: Locale settings  ("Tille, Andreas" <TilleA@rki.de>)
Список pgsql-general
"Tille, Andreas" <TilleA@rki.de> writes:
> I've thought that I would have set my locale settings correctly for
> PostgreSQL 7.1.3.  At least I have set my environment variables
>          LANG=de_DE@euro
>          LC_ALL=de_DE@euro
> Do I have to set additional LC_COLLATE and LC_CTYPE to avoid the
> following warnings

> Apr 22 12:22:13 wr-linux02 postgres[16149]: [2] NOTICE:  pg_setlocale():
> 'LC_COLLATE=��,@��,@/locale' cannot be honored.
> Apr 22 12:22:13 wr-linux02 postgres[16149]: [3] NOTICE:  pg_setlocale():
> 'LC_CTYPE=��,@��,@^P' cannot be honored.

You did not say what platform you are on, but I suspect you are getting
bit by 7.1's nonportable assumptions about behavior of localeconv().
These garbage locale strings could have come from 7.1's assumption that
a string returned by localeconv() will still be valid after changing
settings with setlocale().

Try 7.2.

            regards, tom lane

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Foreign keys
Следующее
От: Peter Peltonen
Дата:
Сообщение: Re: configure: error: header file is