Received: from localhost (unknown [200.46.204.183]) by mail.postgresql.org (Postfix) with ESMTP id 40B2B6343DC for ; Wed, 8 Apr 2009 10:54:18 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 01138-01 for ; Wed, 8 Apr 2009 10:54:15 -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 0B9CD6343E0 for ; Wed, 8 Apr 2009 10:54:14 -0300 (ADT) Received: from madras2.square-pi.com ([192.168.2.131]:3696 helo=MADRAS2) by mail.kickstone.com with esmtpa (Exim 4.69) (envelope-from ) id 1LrYEF-00055s-MW; Wed, 08 Apr 2009 14:54:11 +0100 Message-ID: From: "John Lister" To: "Kris Jurka" Cc: References: <491f66a50904070817o3af217d4odc32bdfd29b47789@mail.gmail.com> <49DBBF8D.2080806@kickstone.com> Subject: Re: Array passing Date: Wed, 8 Apr 2009 14:54:11 +0100 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=response Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.5512 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5512 X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0 tagged_above=0 required=5 tests=none X-Spam-Level: X-Archive-Number: 200904/32 X-Sequence-Number: 19479 I've applied the patch, but there seems to be a couple of issues. To do binary transfer, it needs to do a describe before the bind so as to get the returned field types. This seems to only be done when ForceBinaryTransfer is set. Secondly when it does the describe, sendParse trashes the fields details by setting them to null before the main query is executed. Did this patch use to work, i can't see how in its current form. I'll continue investigating unless there are any hints... Thanks