X-Original-To: pgsql-jdbc-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 321A3DAE04 for ; Tue, 25 Oct 2005 17:49:30 -0300 (ADT) 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 21018-02 for ; Tue, 25 Oct 2005 20:49:27 +0000 (GMT) Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by svr1.postgresql.org (Postfix) with ESMTP id 18F79DAD36 for ; Tue, 25 Oct 2005 17:49:27 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.13.1/8.13.1) with ESMTP id j9PKnOBw028995; Tue, 25 Oct 2005 16:49:24 -0400 (EDT) To: Oliver Jowett Cc: Ken Geis , pgsql-jdbc@postgresql.org Subject: Re: patch: ResultSetTest.java In-reply-to: <435E9821.5060704@opencloud.com> References: <13234.1130247178@sss.pgh.pa.us> <5de916660e000c9b77ae3ec5e213b0a9@speakeasy.net> <14102.1130252457@sss.pgh.pa.us> <435E9821.5060704@opencloud.com> Comments: In-reply-to Oliver Jowett message dated "Wed, 26 Oct 2005 09:40:01 +1300" Date: Tue, 25 Oct 2005 16:49:24 -0400 Message-ID: <28994.1130273364@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.006 required=5 tests=[AWL=0.006] X-Spam-Level: X-Archive-Number: 200510/131 X-Sequence-Number: 14062 Oliver Jowett writes: > Any plans for the backend to require send/receive functions for all > types? Highly unlikely, since that would break most user-defined types in existence. > Or perhaps something like using the input/output functions if > send/receive are not present? Doesn't seem like an amazingly good idea ... how would you know what you were getting? A more salient point is exactly what is JDBC going to *do* with data in an unknown binary format? You may have to fall back to providing a switch somewhere that says whether or not to use binary I/O, with the understanding that it's only safe to turn it on when all the queries use only supported types. regards, tom lane