Re: select fails on indexed varchars.

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: select fails on indexed varchars.
Дата
Msg-id 29529.980520325@sss.pgh.pa.us
обсуждение исходный текст
Ответ на select fails on indexed varchars.  (Alex Krohn <alex@gossamer-threads.com>)
Ответы Re: select fails on indexed varchars.  (Alex Krohn <alex@gossamer-threads.com>)
Список pgsql-bugs
Alex Krohn <alex@gossamer-threads.com> writes:
> [postgres@penguin pgsql]$ locale
> LANG=en_US
> LC_CTYPE="en_US"
> LC_NUMERIC="en_US"
> LC_TIME="en_US"
> LC_COLLATE="en_US"
> LC_MONETARY="en_US"
> LC_MESSAGES="en_US"
> LC_ALL=en_US
> [postgres@penguin pgsql]$

> Postmaster is running as user pgsql. Any ideas on workarounds?

Use locale "C" unless you have a really good reason why you need
en_US sorting order.

Beware of changing the postmaster's locale on the fly, however,
since that will leave you with corrupted (out-of-order) indexes.
Safest to dump/initdb in new locale/reload.

            regards, tom lane

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

Предыдущее
От: Peter T Mount
Дата:
Сообщение: Re: [JDBC] Re: JDBC buggy in 7.1beta3
Следующее
От: Tom Lane
Дата:
Сообщение: Re: select fails on indexed varchars.