Re: confused with encodings

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: confused with encodings
Дата
Msg-id Pine.LNX.4.44.0306162102360.2751-100000@peter.localdomain
обсуждение исходный текст
Ответ на confused with encodings  (Oleg Bartunov <oleg@sai.msu.su>)
Список pgsql-hackers
Oleg Bartunov writes:

> I thought I could specify different encodings for different databases
> and these encodings will be used in text operations (sort, upper,lower),
> not just for conversion. But, actually, the only encoding is important
> for text operations - the one specified with 'initdb' command ! Is't
> true ?

Absolutely not, but you may find that in order to allow LC_CTYPE
operations (namely sort, upper, lower) in UTF8, you need a locale that
supports that, namely the xx_XX.utf8 kind.  So realistically, you are kind
of stuck with one encoding for the entire cluster.

-- 
Peter Eisentraut   peter_e@gmx.net



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

Предыдущее
От: Curt Sampson
Дата:
Сообщение: Re: O_DIRECT in freebsd
Следующее
От: Tom Lane
Дата:
Сообщение: Re: pg_get_triggerdef in pg_dump