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 B96A5DAE32 for ; Tue, 25 Oct 2005 17:40:07 -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 14493-10 for ; Tue, 25 Oct 2005 20:40:04 +0000 (GMT) Received: from yass.opencloud.co.nz (yass.opencloud.co.nz [131.203.101.226]) by svr1.postgresql.org (Postfix) with ESMTP id 5406DDAE7B for ; Tue, 25 Oct 2005 17:40:04 -0300 (ADT) Received: from 203-79-104-60.cable.paradise.net.nz ([203.79.104.60] helo=[192.168.0.20]) by yass.opencloud.co.nz with asmtp (TLS-1.0:DHE_RSA_AES_128_CBC_SHA:16) (Exim 4.34) id 1EUVaV-0003tR-76; Wed, 26 Oct 2005 09:40:03 +1300 Message-ID: <435E9821.5060704@opencloud.com> Date: Wed, 26 Oct 2005 09:40:01 +1300 From: Oliver Jowett User-Agent: Mozilla Thunderbird 1.0.7 (X11/20051009) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Tom Lane Cc: Ken Geis , pgsql-jdbc@postgresql.org Subject: Re: patch: ResultSetTest.java References: <13234.1130247178@sss.pgh.pa.us> <5de916660e000c9b77ae3ec5e213b0a9@speakeasy.net> <14102.1130252457@sss.pgh.pa.us> In-Reply-To: <14102.1130252457@sss.pgh.pa.us> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.008 required=5 tests=[AWL=0.008] X-Spam-Level: X-Archive-Number: 200510/130 X-Sequence-Number: 14061 Tom Lane wrote: > Ken Geis writes: >>aclitem is one of few types that does not have send and receive >>functions defined. > > Oh, my mistake, I looked at the entry for _aclitem ... but you're right, > the underlying type doesn't have 'em. Hm, this would seem to be an obstacle to using binary output formats in a general-purpose client.. The driver generally does not know the type of the columns returned by a query ahead of time (without an extra round-trip, which has a performance cost), so returning columns as binary is going to be all-or-nothing. If the act of selecting binary output for a column is going to cause an ERROR on a query that would otherwise succeed.. that's pretty nasty :( Any plans for the backend to require send/receive functions for all types? Or perhaps something like using the input/output functions if send/receive are not present? -O