Re: Status of binary protocol usage?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: aaime74 <andrea(dot)aime(at)gmail(dot)com>
Cc: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: Status of binary protocol usage?
Date: 2007-06-24 15:40:52
Message-ID: 18839.1182699652@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

aaime74 <andrea(dot)aime(at)gmail(dot)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

In response to

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message aaime74 2007-06-24 16:21:56 Re: Status of binary protocol usage?
Previous Message aaime74 2007-06-24 14:13:06 Status of binary protocol usage?