Re: ORDER BY is case insensitive

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: ORDER BY is case insensitive
Дата
Msg-id 8426.1277242801@sss.pgh.pa.us
обсуждение исходный текст
Ответ на ORDER BY is case insensitive  (Bryan White <nicktook@gmail.com>)
Список pgsql-sql
Bryan White <nicktook@gmail.com> writes:
> I was suprised to find out that ORDER BY is case insensitive.  Is
> there a way to do a case sensitive ORDER BY clause?

Text sort order is determined by the rules of the locale you're using,
specifically the database's LC_COLLATE setting.  Most implementations of
en_US locale use "dictionary" ordering.  You might prefer C locale's
rules instead.
        regards, tom lane


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

Предыдущее
От: Gerardo Herzig
Дата:
Сообщение: Re: ORDER BY is case insensitive
Следующее
От: silly sad
Дата:
Сообщение: Re: How to Insert and retrieve multilingual (Hindi "an Indian language") into PostgreSQL