X-Original-To: pgsql-hackers-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id EEE6BD1B273 for ; Fri, 23 Jul 2004 01:36:10 -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 17730-06 for ; Fri, 23 Jul 2004 04:36:10 +0000 (GMT) Received: from yass.opencloud.co.nz (yass.opencloud.co.nz [203.79.85.162]) by svr1.postgresql.org (Postfix) with ESMTP id D5D0BD1B26E for ; Fri, 23 Jul 2004 01:36:03 -0300 (ADT) Received: from flood.opencloud.co.nz ([192.168.0.31] helo=opencloud.com) by yass.opencloud.co.nz with esmtp (Exim 3.35 #1 (Debian)) id 1Bnrmv-0001Yx-00; Fri, 23 Jul 2004 16:36:05 +1200 Message-ID: <410095B4.60907@opencloud.com> Date: Fri, 23 Jul 2004 16:36:04 +1200 From: Oliver Jowett User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6b) Gecko/20031205 Thunderbird/0.4 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Tom Lane Cc: pgsql-hackers@postgresql.org Subject: Re: [JDBC] V3 protocol + DECLARE problems References: <40FD982D.2080006@opencloud.com> <9141.1090424549@sss.pgh.pa.us> <40FFA5C0.7050701@opencloud.com> In-Reply-To: <40FFA5C0.7050701@opencloud.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.0 tagged_above=0.0 required=5.0 tests= X-Spam-Level: X-Archive-Number: 200407/1127 X-Sequence-Number: 56688 Oliver Jowett wrote: > It seems like we should pass the original parameters from execution of > the DECLARE utility portal down through PortalRunUtility -> > ProcessUtility -> PerformCursorOpen, copy them into the newly created > portal's memory context, and pass the copies to PortalStart on the new > portal. I'll also have to add a type Oid to ParamListInfoData to be able to do the copying of parameters (either that or pass type info around with the portal which seems nasty). -O