Re: large object I/O seeing \\xxx encoding with v3 protocol

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: large object I/O seeing \\xxx encoding with v3 protocol
Дата
Msg-id 25124.1092419389@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: large object I/O seeing \\xxx encoding with v3  (Eric Marsden <emarsden@laas.fr>)
Список pgsql-interfaces
Eric Marsden <emarsden@laas.fr> writes:
>   It seems to me that it would be more useful, and more consistent
>   with the way text is handled in the fe/be protocol, to use the
>   character encoding that was requested by the client (the equivalent
>   of PQsetClientEncoding) instead of this literal \xxx escaping.

Surely not.  This is bytea data we are talking about --- there is no
reason to suppose that encoding has anything to do with it.  If you
want client_encoding to take a hand, you should be storing data as text
not bytea.
        regards, tom lane


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

Предыдущее
От: Eric Marsden
Дата:
Сообщение: Re: large object I/O seeing \\xxx encoding with v3
Следующее
От: Oliver Archner
Дата:
Сообщение: Calling C++ function