JDBC with PG 8.4 bytea character escaping wire protocol - Mailing list pgsql-jdbc

From David Wall
Subject JDBC with PG 8.4 bytea character escaping wire protocol
Date
Msg-id 4ADDDFC7.3010900@computer.org
Whole thread Raw
Responses Re: JDBC with PG 8.4 bytea character escaping wire protocol  (David Wall <d.wall@computer.org>)
Re: JDBC with PG 8.4 bytea character escaping wire protocol  (Oliver Jowett <oliver@opencloud.com>)
List pgsql-jdbc
Does the JDBC 4 driver for PG 8.4 escape each character of the bytea
type, or does it use a binary protocol?

 From another post, Merlin Moncure wrote, "libpq supports a binary
protocol mode which allows you to execute queries sending bytea without
escaping."  Is that true of the JDBC driver?  I'm concerned about the
data size expansion that would result for the wire protocol when I use
setBytes().

Thanks,
David

pgsql-jdbc by date:

Previous
From: Craig Ringer
Date:
Subject: Re: How to ensure that SSL is enabled?
Next
From: "Kevin Grittner"
Date:
Subject: commit and rollback don't throw exceptions when they should