Received: from localhost (unknown [200.46.208.211]) by mail.postgresql.org (Postfix) with ESMTP id 9AE9C63346E for ; Thu, 16 Apr 2009 08:27:08 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by localhost (mx1.hub.org [200.46.208.211]) (amavisd-maia, port 10024) with ESMTP id 37654-04 for ; Thu, 16 Apr 2009 08:27:00 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from mail.kickstone.com (smtp.kickstone.com [87.194.183.70]) by mail.postgresql.org (Postfix) with ESMTP id E440E633275 for ; Thu, 16 Apr 2009 08:27:06 -0300 (ADT) Received: from host212-183-132-39.uk.access.vodafone.net ([212.183.132.39]:16341 helo=[10.113.25.243]) by mail.kickstone.com with esmtpa (Exim 4.69) (envelope-from ) id 1LuPjx-0004Xs-Tc; Thu, 16 Apr 2009 12:26:50 +0100 Message-ID: <49E715E1.6020304@kickstone.com> Date: Thu, 16 Apr 2009 12:26:25 +0100 From: John Lister User-Agent: Thunderbird 2.0.0.21 (Windows/20090302) MIME-Version: 1.0 To: Heikki Linnakangas CC: Oliver Jowett , Tom Lane , pgsql-jdbc@postgresql.org Subject: Re: Query preparation References: <49E4A6FA.7050407@kickstone.com> <49E4AEAC.5000700@opencloud.com> <49E4F20C.6040900@kickstone.com> <18961.1239742344@sss.pgh.pa.us> <49E4FBB0.40405@kickstone.com> <49E5D64F.8010603@enterprisedb.com> <49E5DD02.2060909@opencloud.com> <10718.1239808274@sss.pgh.pa.us> <49E71286.9020500@enterprisedb.com> In-Reply-To: <49E71286.9020500@enterprisedb.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=2.211 tagged_above=0 required=5 tests=AWL=-1.094, RCVD_IN_BL_SPAMCOP_NET=2.188, RCVD_IN_SORBS_WEB=1.117 X-Spam-Level: ** X-Archive-Number: 200904/63 X-Sequence-Number: 19510 Heikki Linnakangas wrote: > > Here's the patch. Describe message is only sent in the first > invocation of a query. The Field[] array constructed from the > RowDescription message is saved in the SimpleQuery object for reuse. > Cheers, I'd already added similar code while expanding the binary support for arrays. good to see both on the same lines.. I'll try and get the binary stuff sorted soon.