Re: case sensitive/insensitive confusion

Поиск
Список
Период
Сортировка
От Christoph Haller
Тема Re: case sensitive/insensitive confusion
Дата
Msg-id 41FF6B8D.E1010AEA@rodos.fzk.de
обсуждение исходный текст
Ответ на case sensitive/insensitive confusion  (Christoph Haller <ch@rodos.fzk.de>)
Список pgsql-sql
Peter Eisentraut wrote:
> 
> Christoph Haller wrote:
> > It seems to me under hpux the sort is done case sensitive,
> > as would one expect on SQL_ASCII encoding, whereas
> > under linux a case insensitive sort is done.
> 
> The sort order depends entirely on the locale that you specify to initdb
> (not the encoding).  Please check the documentation there.
> 
> --
> Peter Eisentraut
> http://developer.postgresql.org/~petere/
> 

Under hpux I see
pg_controldata $PGDATA
...
LC_COLLATE:                           C
LC_CTYPE:                             C
Under linux I see
pg_controldata $PGDATA
...
LC_COLLATE:                           en_US
LC_CTYPE:                             en_US

That explains the confusion, even to me. 
Thanx to Peter for the quick reply. 

Regards, Christoph


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

Предыдущее
От: Sean Davis
Дата:
Сообщение: Re: [PERFORM] OFFSET impact on Performance???
Следующее
От: Theodore Petrosky
Дата:
Сообщение: Re: case sensitive/insensitive confusion