Vladimir Kokovic <kokovic.vladimir@gmail.com> writes:
> I think that empty bytea shoukd be like in 8.4, without \\x !
We could do that, but it seems completely cosmetic. The real problem
here is that you've got client-side code that doesn't understand the
hex-based format. It's going to break as soon as it sees a non-empty
bytea, so what's the use of trying to make the empty-string case
backwards compatible? It's probably better you find out about the
incompatibility sooner, so you can get on with fixing the real problem.
regards, tom lane