pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Oliver Jowett <oliver@opencloud.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: Fri, 23 Oct 2009 09:53:17 +1300
Message-ID: <4AE0C63D.3040303@opencloud.com> (raw)
In-Reply-To: <4ADDDFC7.3010900@computer.org>
References: <4ADDDFC7.3010900@computer.org>

David Wall wrote:
> Does the JDBC 4 driver for PG 8.4 escape each character of the bytea 
> type, or does it use a binary protocol?

When sending parameter data to the server, it uses the binary format.

When receiving results from the server, it uses the text format.

-O



view thread (8+ messages)  latest in thread

Message-ID: <4AE0C63D.3040303@opencloud.com>
Permalink:  ../4AE0C63D.3040303@opencloud.com/
Also on:    postgresql.org/message-id/4AE0C63D.3040303@opencloud.com

 · 

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: oliver@opencloud.com, d.wall@computer.org
  Subject: Re: JDBC with PG 8.4 bytea character escaping wire protocol
  In-Reply-To: <4AE0C63D.3040303@opencloud.com>
  References: <4ADDDFC7.3010900@computer.org> <4AE0C63D.3040303@opencloud.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