X-Original-To: pgsql-jdbc-postgresql.org@postgresql.org Received: from localhost (mx1.hub.org [200.46.208.251]) by postgresql.org (Postfix) with ESMTP id 00FEA9FA5DD for ; Fri, 23 Jun 2006 09:00:08 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.208.251]) (amavisd-new, port 10024) with ESMTP id 95774-10 for ; Fri, 23 Jun 2006 08:59:52 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey- Received: from mail.logix-tt.com (mail.logix-tt.com [212.211.145.186]) by postgresql.org (Postfix) with ESMTP id 4EC119FA182 for ; Fri, 23 Jun 2006 08:59:52 -0300 (ADT) Received: from kingfisher.intern.logix-tt.com (Tb02f.t.pppool.de [89.55.176.47]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.logix-tt.com (Postfix) with ESMTP id 87A7E65876; Fri, 23 Jun 2006 14:01:25 +0200 (CEST) Received: from [127.0.0.1] (localhost [127.0.0.1]) by kingfisher.intern.logix-tt.com (Postfix) with ESMTP id B81031852EF72; Fri, 23 Jun 2006 14:00:01 +0200 (CEST) Message-ID: <449BD7C1.3050501@logix-tt.com> Date: Fri, 23 Jun 2006 14:00:01 +0200 From: Markus Schaber Organization: Logical Tracking and Tracing International AG, Switzerland User-Agent: Thunderbird 1.5.0.2 (X11/20060516) MIME-Version: 1.0 To: Dave Cramer Cc: Michael Guyver , pgsql-jdbc@postgresql.org Subject: Re: Binary tx format for an array? References: <30b57570606211026o66e337c9s658387db0b32aeed@mail.gmail.com> <17160.1150929667@sss.pgh.pa.us> <30b57570606220116h2f216c1eue74e5cfbb41bd5bc@mail.gmail.com> <1048.1150995309@sss.pgh.pa.us> <1151003773.21238.13.camel@archimedes> <30b57570606230122s4827d2ectd470e3c4ff6ad228@mail.gmail.com> <5D40D46E-2EFE-4EC1-98B2-642C7C5E3229@fastcrypt.com> In-Reply-To: <5D40D46E-2EFE-4EC1-98B2-642C7C5E3229@fastcrypt.com> X-Enigmail-Version: 0.94.0.0 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200606/101 X-Sequence-Number: 15381 Hi, Dave, Dave Cramer wrote: > I'm curious. Are you attempting to implement the binary protocol for the > jdbc driver ? > > If so, how are you dealing with date types which are either 64 bit or > floating point. > > Have you done any testing to see if it is actually faster ? > > There's certainly no question with timestamp/date parsing, others may be > questionable . At least for PostGIS (which uses a hexed representation for text protocol currently), I expect the data volume to be exactly 50% for binary. Bytea and blobs may be similar. Markus -- Markus Schaber | Logical Tracking&Tracing International AG Dipl. Inf. | Software Development GIS Fight against software patents in EU! www.ffii.org www.nosoftwarepatents.org