Re: Empty bytea values on 9.2.1

From: Nils Gösche <cartan(at)cartan(dot)de>
To: "'Tom Lane'" <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: <pgsql-odbc(at)postgresql(dot)org>
Subject: Re: Empty bytea values on 9.2.1
Date: 2012-10-30 10:09:57
Message-ID: 001101cdb686$b80fd290$282f77b0$@de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-odbc

Tom wrote:

> 9.0 and later default to showing bytea output in "hex" format. I
> wonder whether you are using a version of the ODBC code that handles
> that.

I am using version 9.01.02.00 which is rather recent, I think.

> If not, you many need to set "bytea_output" to "escape".

Good idea: That fixes it!

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.

Regards,
--
Nils Gösche
"Don't ask for whom the <CTRL-G> tolls."

In response to

Responses

Browse pgsql-odbc by date

  From Date Subject
Next Message Tom Lane 2012-10-30 14:18:44 Re: Empty bytea values on 9.2.1
Previous Message psqlodbc-bugs 2012-10-29 21:15:24 [psqlodbc-Bugs][1011246] Windows 2012 64bit ODBC Administrator crashes