Re: Status of binary protocol usage? - Mailing list pgsql-jdbc

From Tom Lane
Subject Re: Status of binary protocol usage?
Date
Msg-id 18839.1182699652@sss.pgh.pa.us
Whole thread Raw
In response to Status of binary protocol usage?  (aaime74 <andrea.aime@gmail.com>)
Responses Re: Status of binary protocol usage?  (aaime74 <andrea.aime@gmail.com>)
List pgsql-jdbc
aaime74 <andrea.aime@gmail.com> writes:
> A profiler informs me that quite a big of time is spent in the
> PGBytea.toBytes(byte[]s) method, which is used only if the transfer
> occurrs in text mode.

That hardly seems like a killer argument for switching to binary
(which has got a boatload of disadvantages of its own).  Surely a
bit of code-optimization work can fix that.

            regards, tom lane

pgsql-jdbc by date:

Previous
From: aaime74
Date:
Subject: Status of binary protocol usage?
Next
From: aaime74
Date:
Subject: Re: Status of binary protocol usage?