Received: from localhost (maia-1.hub.org [200.46.204.191]) by postgresql.org (Postfix) with ESMTP id C9ECA9FB559 for ; Sun, 24 Jun 2007 12:40:56 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.191]) (amavisd-maia, port 10024) with ESMTP id 16440-08 for ; Sun, 24 Jun 2007 12:40:54 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.5 Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by postgresql.org (Postfix) with ESMTP id CBC4F9FB56B for ; Sun, 24 Jun 2007 12:40:53 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.1/8.14.1) with ESMTP id l5OFeqFA018840; Sun, 24 Jun 2007 11:40:52 -0400 (EDT) To: aaime74 cc: pgsql-jdbc@postgresql.org Subject: Re: Status of binary protocol usage? In-reply-to: <11275147.post@talk.nabble.com> References: <11275147.post@talk.nabble.com> Comments: In-reply-to aaime74 message dated "Sun, 24 Jun 2007 07:13:06 -0700" Date: Sun, 24 Jun 2007 11:40:52 -0400 Message-ID: <18839.1182699652@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200706/86 X-Sequence-Number: 17148 aaime74 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