Re: bytea and character encoding when inserting escaped literals

Поиск
Список
Период
Сортировка
От Raymond O'Donnell
Тема Re: bytea and character encoding when inserting escaped literals
Дата
Msg-id 4821A0D3.9030305@iol.ie
обсуждение исходный текст
Ответ на bytea and character encoding when inserting escaped literals  (Lee Feigenbaum <lee@thefigtrees.net>)
Список pgsql-general
On 05/05/2008 16:07, Lee Feigenbaum wrote:

> INSERT INTO myTable VALUES (..., E'\x15\x1C\x2F\x00\x02...', ...) ;

As I understand it, the octets need to be entered as their octal
representation - have a look at table 8-7 at
http://www.postgresql.org/docs/8.3/static/datatype-binary.html.

HTH,

Ray.

------------------------------------------------------------------
Raymond O'Donnell, Director of Music, Galway Cathedral, Ireland
rod@iol.ie
Galway Cathedral Recitals: http://www.galwaycathedral.org/recitals
------------------------------------------------------------------

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

Предыдущее
От: Jan Christian Dittmer
Дата:
Сообщение: Import German Decimal Numbers
Следующее
От: "A. Kretschmer"
Дата:
Сообщение: Re: Import German Decimal Numbers