X-Original-To: pgsql-sql-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by postgresql.org (Postfix) with ESMTP id 904369DC982 for ; Thu, 23 Mar 2006 13:12:39 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 69730-10 for ; Thu, 23 Mar 2006 13:12:37 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey- Received: from nelson.osl.com (216-21-133-120.ip.van.radiant.net [216.21.133.120]) by postgresql.org (Postfix) with ESMTP id 288749DC9BE for ; Thu, 23 Mar 2006 13:12:35 -0400 (AST) Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0 Subject: Re: OUT parameter Date: Thu, 23 Mar 2006 09:12:32 -0800 Message-ID: <144D12D7DD4EC04F99241498BB4EEDCC25EBAD@nelson.osl.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [SQL] OUT parameter Thread-Index: AcZOJCYSEEKlszq0SR6Ng/O8aCUBOgAeIZWA From: "Owen Jacobson" To: X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.189 required=5 tests=[AWL=0.189] X-Spam-Score: 0.189 X-Spam-Level: X-Archive-Number: 200603/377 X-Sequence-Number: 24723 Tom Lane wrote: > "Owen Jacobson" writes: > > I'd say there's no problem with this, PROVIDED you can ensure you'll > > never abort before completing the computation. >=20 > Not really an issue in Postgres: we do not support pass-by-reference > parameters and are unlikely to start doing so. There isn't any way > that you can affect locals of a calling procedure before you return. Then I've misunderstood the semantics of OUT and more importantly INOUT = parameters. Thanks for the correction; I'm reading Daniel Caune's notes = on the docs now. -Owen