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 40D205286C for ; Tue, 24 May 2005 16:04: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 96973-06 for ; Tue, 24 May 2005 19:04:03 +0000 (GMT) Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by svr1.postgresql.org (Postfix) with ESMTP id 1460552817 for ; Tue, 24 May 2005 16:04:02 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.13.1/8.13.1) with ESMTP id j4OJ3xoG004830; Tue, 24 May 2005 15:03:59 -0400 (EDT) To: pg@fastcrypt.com Cc: PostgreSQL-development Subject: Re: IN/OUT parameters In-reply-to: <42936EF8.7000703@fastcrypt.com> References: <42936EF8.7000703@fastcrypt.com> Comments: In-reply-to Dave Cramer message dated "Tue, 24 May 2005 14:14:16 -0400" Date: Tue, 24 May 2005 15:03:59 -0400 Message-ID: <4829.1116961439@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.006 tagged_above=0 required=5 tests=AWL X-Spam-Level: X-Archive-Number: 200505/1349 X-Sequence-Number: 68225 Dave Cramer writes: > create function foo( out p1 int, in p2 int, out p3 int) .... > then a subsequent > "{call = select foo(?,?,?)} > This would need to be currently transformed into select foo(?), with the > other two being discarded. > It seems to me that the bind message needs to support the notion of > direction in order for this to work cleanly. How would it help for BIND to incorporate direction? What would it even *mean* for BIND to incorporate direction --- it's a client-to-server message, and can hardly be expected to transmit data in the reverse direction. regards, tom lane