From: Richard Broersma <richard.broersma@gmail.com>
To: David Wall <d.wall@computer.org>
Cc: pgsql-jdbc <pgsql-jdbc@postgresql.org>
Subject: Re: JDBC with PG 8.4 bytea character escaping wire protocol
Date: Thu, 22 Oct 2009 09:13:30 -0700
Message-ID: <396486430910220913n78799e5apb6e3ef3494407d6b@mail.gmail.com> (raw)
In-Reply-To: <4AE0817A.5010502@computer.org>
References: <4ADDDFC7.3010900@computer.org>
<4AE0817A.5010502@computer.org>
On Thu, Oct 22, 2009 at 8:59 AM, David Wall <d.wall@computer.org> wrote:
> Does anybody
> know if the JDBC driver with PG 8.4 communicates using a binary protocol for
> BYTEA transfers to/from or whether it sends escaped chars only? Or perhaps
> which classes handle the transfer of BYTEA to PG and receives BYTEA
> responses from PG?
I don't know if you've already looked at this document (I'm not sure
if it answers your question):
http://jdbc.postgresql.org/documentation/84/binary-data.html
It sounds like it uses an InputStream but I'm not sure.
--
Regards,
Richard Broersma Jr.
Visit the Los Angeles PostgreSQL Users Group (LAPUG)
http://pugs.postgresql.org/lapug
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: richard.broersma@gmail.com, d.wall@computer.org
Subject: Re: JDBC with PG 8.4 bytea character escaping wire protocol
In-Reply-To: <396486430910220913n78799e5apb6e3ef3494407d6b@mail.gmail.com>
References: <4ADDDFC7.3010900@computer.org> <4AE0817A.5010502@computer.org> <396486430910220913n78799e5apb6e3ef3494407d6b@mail.gmail.com>
* 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