Re: JDBC with PG 8.4 bytea character escaping wire protocol

From: Richard Broersma <richard(dot)broersma(at)gmail(dot)com>
To: David Wall <d(dot)wall(at)computer(dot)org>
Cc: pgsql-jdbc <pgsql-jdbc(at)postgresql(dot)org>
Subject: Re: JDBC with PG 8.4 bytea character escaping wire protocol
Date: 2009-10-22 16:13:30
Message-ID: 396486430910220913n78799e5apb6e3ef3494407d6b@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

On Thu, Oct 22, 2009 at 8:59 AM, David Wall <d(dot)wall(at)computer(dot)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

In response to

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message David Wall 2009-10-22 16:46:21 Re: JDBC with PG 8.4 bytea character escaping wire protocol
Previous Message David Wall 2009-10-22 15:59:54 Re: JDBC with PG 8.4 bytea character escaping wire protocol