X-Original-To: pgsql-jdbc-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id C246D550E7 for ; Thu, 24 Feb 2005 10:02:29 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 63209-04 for ; Thu, 24 Feb 2005 10:02:28 +0000 (GMT) Received: from mail63.csoft.net (leary3.csoft.net [63.111.22.74]) by svr1.postgresql.org (Postfix) with SMTP id 175FD54EE4 for ; Thu, 24 Feb 2005 10:02:27 +0000 (GMT) Received: (qmail 28165 invoked by uid 1112); 24 Feb 2005 10:02:34 -0000 Date: Thu, 24 Feb 2005 05:02:34 -0500 (EST) From: Kris Jurka X-X-Sender: books@leary.csoft.net To: Markus Schaber Cc: PostGIS Development Discussion , "pgsql-jdbc@postgresql.org" , David Blasby Subject: Re: [postgis-devel] JDBC & WKB - 400% overhead In-Reply-To: <421DA0C2.10407@logi-track.com> Message-ID: References: <1109097544.421b7c482a529@webmail.limegroup.com> <421C99E1.4070107@logi-track.com> <421DA0C2.10407@logi-track.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.012 tagged_above=0 required=5 tests=AWL X-Spam-Level: X-Archive-Number: 200502/183 X-Sequence-Number: 12363 On Thu, 24 Feb 2005, Markus Schaber wrote: > Oh, I thought that binary transmit was implemented in 8.0 :-( > Binary transmission was done for sending bytea data, which was a big win, but that's something we can do because we know we're sending binary data. > As there are at least plans to use caching of prepared statements, it > also should be possible to cache this information together with the > prepared statement. This would reduce the number of roundtrips. That's true, this information could be received on the first query or say a PreparedStatement.getMetaData() call. This would definitely be a simpler thing to do, but still 8.1 material I think. Kris Jurka