From: Kris Jurka <books@ejurka.com>
To: dmp <danap@ttc-cmc.net>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: Bytea Hex Format
Date: Mon, 10 Aug 2009 18:52:51 -0400 (EDT)
Message-ID: <alpine.BSO.2.00.0908101851360.16919@leary.csoft.net> (raw)
In-Reply-To: <4A803721.3070102@ttc-cmc.net>
References: <4A803721.3070102@ttc-cmc.net>
On Mon, 10 Aug 2009, dmp wrote:
> "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*.
>
> 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.
>
It will require a change to the JDBC driver to correctly interpret hex
escaped bytea data (which hasn't happened yet), but JDBC users will not
need to change anything, getBytes will still be the call to use.
Kris Jurka
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-jdbc@postgresql.org
Cc: books@ejurka.com, danap@ttc-cmc.net
Subject: Re: Bytea Hex Format
In-Reply-To: <alpine.BSO.2.00.0908101851360.16919@leary.csoft.net>
References: <4A803721.3070102@ttc-cmc.net> <alpine.BSO.2.00.0908101851360.16919@leary.csoft.net>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox