JDBC with PG 8.4 bytea character escaping wire protocol

Поиск
Список
Период
Сортировка
От David Wall
Тема JDBC with PG 8.4 bytea character escaping wire protocol
Дата
Msg-id 4ADDDFC7.3010900@computer.org
обсуждение исходный текст
Ответы 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>)
Список 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 по дате отправления:

Предыдущее
От: Craig Ringer
Дата:
Сообщение: Re: How to ensure that SSL is enabled?
Следующее
От: "Kevin Grittner"
Дата:
Сообщение: commit and rollback don't throw exceptions when they should