Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-jdbc by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group