Re: Problem inserting binary data in bytea column of UTF-8 database
Alexey Bashtanov <[email protected]>
| Newsgroups | gmane.comp.db.postgresql.sql |
|---|---|
| Message-ID | <[email protected]> |
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