Re: [GENERAL] postgres & server encodings

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: [GENERAL] postgres & server encodings
Дата
Msg-id 16705.1123603167@sss.pgh.pa.us
обсуждение исходный текст
Ответы Re: [GENERAL] postgres & server encodings  ("Joel Fradkin" <jfradkin@wazagua.com>)
Re: [GENERAL] postgres & server encodings  (Greg Stark <gsstark@mit.edu>)
Список pgsql-admin
"Salem Berhanu" <salemb4@hotmail.com> writes:
> What exactly is the SQL_ASCII encoding in postgres?

SQL_ASCII isn't so much an encoding as the declaration that you don't
care about encodings.  That setting simply disables encoding validity
checks and encoding conversions.  The server will take any byte string
clients send it (barring only embedded zero bytes), and store and return
it unchanged.

Since it disables conversions, the notion of converting to another
encoding is pretty much meaningless :-(.

            regards, tom lane

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

Предыдущее
От: John DeSoi
Дата:
Сообщение: Re: REVOKE from all tables ...
Следующее
От: "Joel Fradkin"
Дата:
Сообщение: Re: [GENERAL] postgres & server encodings