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 641DD52809 for ; Tue, 24 May 2005 15:43:49 -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 94224-02 for ; Tue, 24 May 2005 18:43:38 +0000 (GMT) Received: from davinci.ethosmedia.com (server227.ethosmedia.com [209.128.84.227]) by svr1.postgresql.org (Postfix) with ESMTP id 55BA652894 for ; Tue, 24 May 2005 15:43:37 -0300 (ADT) X-EthosMedia-Virus-Scanned: no infections found Received: from [64.81.245.111] (account josh@agliodbs.com HELO temoku.sf.agliodbs.com) by davinci.ethosmedia.com (CommuniGate Pro SMTP 4.1.8) with ESMTP id 7401704 for pgsql-hackers@postgresql.org; Tue, 24 May 2005 11:45:40 -0700 From: Josh Berkus Reply-To: josh@agliodbs.com Organization: Aglio Database Solutions To: PostgreSQL-development Subject: Re: IN/OUT parameters Date: Tue, 24 May 2005 11:45:06 -0700 User-Agent: KMail/1.8 References: <42936EF8.7000703@fastcrypt.com> In-Reply-To: <42936EF8.7000703@fastcrypt.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200505241145.06469.josh@agliodbs.com> X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.046 tagged_above=0 required=5 tests=AWL, FORGED_RCVD_HELO X-Spam-Level: X-Archive-Number: 200505/1347 X-Sequence-Number: 68223 Hmmmm .... > It seems to me that the bind message needs to support the notion of > direction in order for this to work cleanly. > > Alternatively we could punt and use SQL Server's mechanism where they > only support IN, and INOUT, which would require all parameters to be > sent to the procedure. Does SQL2003 cover IN/OUT parameters? I don't see anything in SQL99. -- --Josh Josh Berkus Aglio Database Solutions San Francisco