Re: Fixed length data types issue

Поиск
Список
Период
Сортировка
От Andrew Dunstan
Тема Re: Fixed length data types issue
Дата
Msg-id 4501D752.8090208@dunslane.net
обсуждение исходный текст
Ответ на Re: Fixed length data types issue  (mark@mark.mielke.cc)
Ответы Re: Fixed length data types issue  (mark@mark.mielke.cc)
Список pgsql-hackers
mark@mark.mielke.cc wrote:
> Only ASCII values store more space efficiently in UTF-8. All values
> over 127 store more space efficiently using UTF-16. 
>
>   

This second statement is demonstrably not true. Only values above 0x07ff 
require more than 2 bytes in UTF-8. All chars up to that point are 
stored in UTF-8 with greater or equal efficiency than that of UTF-16.  
See http://www.zvon.org/tmRFC/RFC2279/Output/chapter2.html

cheers

andrew


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

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: Fixed length data types issue
Следующее
От: "Guillaume Smet"
Дата:
Сообщение: Re: log_duration is redundant, no?