=?UTF-8?Q?Nils_G=C3=B6sche?= <cartan@cartan.de> writes:
> Interestingly, longer bytea values seem to work fine even without
> setting bytea_output to 'escape'! It's only the empty arrays that
> seem to make problems.
That suggests that ODBC is doing something wrong with just '\x' ...
regards, tom lane