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

From Oliver Jowett
Subject Re: JDBC with PG 8.4 bytea character escaping wire protocol
Date
Msg-id 4AE0C63D.3040303@opencloud.com
Whole thread Raw
In response to JDBC with PG 8.4 bytea character escaping wire protocol  (David Wall <d.wall@computer.org>)
Responses Re: JDBC with PG 8.4 bytea character escaping wire protocol  (David Wall <d.wall@computer.org>)
List pgsql-jdbc
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

pgsql-jdbc by date:

Previous
From: "Kevin Grittner"
Date:
Subject: Re: commit and rollback don't throw exceptions when theyshould
Next
From: David Wall
Date:
Subject: Re: JDBC with PG 8.4 bytea character escaping wire protocol