Re: New to PostgreSQL, performance considerations

Поиск
Список
Период
Сортировка
От Michael Glaesemann
Тема Re: New to PostgreSQL, performance considerations
Дата
Msg-id 12DF97AF-3B52-4955-9A35-46D2B0255F32@seespotcode.net
обсуждение исходный текст
Ответ на Re: New to PostgreSQL, performance considerations  ("Daniel van Ham Colchete" <daniel.colchete@gmail.com>)
Список pgsql-performance
On Dec 11, 2006, at 10:47 , Daniel van Ham Colchete wrote:

> I never understood what's the matter between the ASCII/ISO-8859-1/UTF8
> charsets to a database.

If what you mean by ASCII is SQL_ASCII, then there is at least one
significant difference between UTF8 (the PostgreSQL encoding) and
SQL_ASCII. AIUI, SQL_ASCII does no checking at all with respect to
what bytes are going in, while UTF8 does make sure to the best of its
ability that the bytes represent valid UTF-8 characters, throwing an
error if an invalid byte sequence is detected.

There's more information regarding this here:
http://www.postgresql.org/docs/8.2/interactive/
multibyte.html#MULTIBYTE-CHARSET-SUPPORTED

Michael Glaesemann
grzm seespotcode net



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

Предыдущее
От: "Daniel van Ham Colchete"
Дата:
Сообщение: Re: New to PostgreSQL, performance considerations
Следующее
От: Michael Stone
Дата:
Сообщение: Re: New to PostgreSQL, performance considerations