Re: Problem inserting binary data in bytea column of UTF-8 database

Поиск
Список
Период
Сортировка
От Alexey Bashtanov
Тема Re: Problem inserting binary data in bytea column of UTF-8 database
Дата
Msg-id 9dfb240b-dbc5-c9a2-cd28-a249e7329733@imap.cc
обсуждение исходный текст
Ответ на Problem inserting binary data in bytea column of UTF-8 database  (Brice André <brice@famille-andre.be>)
Ответы Re: Problem inserting binary data in bytea column of UTF-8 database
Re: Problem inserting binary data in bytea column of UTF-8 database
Список pgsql-sql
Hi Brice,

On 03/07/18 05:28, Brice André wrote:
> insert into test (test) values (E'\xC744'::bytea);

I think double backslash needs to be used.
See 
https://www.postgresql.org/docs/current/static/datatype-binary.html#id-1.5.7.12.9

Best,
   Alex


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

Предыдущее
От: Brice André
Дата:
Сообщение: Problem inserting binary data in bytea column of UTF-8 database
Следующее
От: "David G. Johnston"
Дата:
Сообщение: Re: Problem inserting binary data in bytea column of UTF-8 database