Binary protocol support for JDBC - Mailing list pgsql-jdbc

From Radosław Smogura
Subject Binary protocol support for JDBC
Date
Msg-id 201007202114.01608.rsmogura@softperience.eu
Whole thread Raw
Responses Re: Binary protocol support for JDBC  (Kris Jurka <books@ejurka.com>)
List pgsql-jdbc
Hello,

I partially, and for "test", implemented retrieval data in binary mode
(instead of text mode) for some Jdbc2 types, because I see great performance
boost (25% - 50%) on implemented types I think about including this work to
main JDBC branch.

This should be done without problem, because I added binary parameter to
Connection and Datasources, so user can decide to use binary mode retrieve or
current text mode (default).
Currently I implemented retrieve of short, int, long, date and BigDecimal.
Other simple and basic types, used in typically application I will implement
shortly.

If you think that this could be interested patch, I will send it.

Kind regards,
Radosław Smogura

pgsql-jdbc by date:

Previous
From: Kris Jurka
Date:
Subject: Re: Trouble with COPY IN
Next
From: Kris Jurka
Date:
Subject: Re: Binary protocol support for JDBC