pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: dmp <danap@ttc-cmc.net>
To: pgsql-jdbc@postgresql.org
Subject: Bytea Hex Format
Date: Mon, 10 Aug 2009 09:05:05 -0600
Message-ID: <4A803721.3070102@ttc-cmc.net> (raw)

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





view thread (2+ messages)  latest in thread

Message-ID: <4A803721.3070102@ttc-cmc.net>
Permalink:  ../4A803721.3070102@ttc-cmc.net/
Also on:    postgresql.org/message-id/4A803721.3070102@ttc-cmc.net

 · 

reply

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: danap@ttc-cmc.net
  Subject: Re: Bytea Hex Format
  In-Reply-To: <4A803721.3070102@ttc-cmc.net>
  References: <4A803721.3070102@ttc-cmc.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