Bytea Hex Format - Mailing list pgsql-jdbc

From dmp
Subject Bytea Hex Format
Date
Msg-id 4A803721.3070102@ttc-cmc.net
Whole thread Raw
Responses Re: Bytea Hex Format  (Kris Jurka <books@ejurka.com>)
List pgsql-jdbc
Hello,

Listed on commits for PostgreSQL this week was one from Tom Lane:

"Support hex-string input and output for type BYTEA.  Both hex format
and the traditional "escape" format are automatically handled on
input.  The output format is selected by the new GUC variable
bytea_output.  As committed, bytea_output defaults to HEX, which is
an *incompatible change*.  We will keep it this way for awhile for
testing purposes, but should consider whether to switch to the more
backwards-compatible default of ESCAPE before 8.5 is released.
Peter Eisentraut"

Is this going to effect the JDBC default behavior, currently the
the MySQLView program uses getBytes() to dump data for BYTEA and
that is in Octal format.

Dana Proctor
MyJSQLView Project Manager



pgsql-jdbc by date:

Previous
From: Sylvain Leroux
Date:
Subject: Re: Using BigInteger as argument to AbstractJdbc2Statement.setObject
Next
From: Kris Jurka
Date:
Subject: Re: Bytea Hex Format