Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-jdbc by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group