From: David Wall <d.wall@computer.org>
To: pgsql-jdbc <pgsql-jdbc@postgresql.org>
Subject: JDBC with PG 8.4 bytea character escaping wire protocol
Date: Tue, 20 Oct 2009 09:05:27 -0700
Message-ID: <4ADDDFC7.3010900@computer.org> (raw)
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
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: d.wall@computer.org
Subject: Re: JDBC with PG 8.4 bytea character escaping wire protocol
In-Reply-To: <4ADDDFC7.3010900@computer.org>
References: <4ADDDFC7.3010900@computer.org>
* 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