Skip site navigation (1) Skip section navigation (2)

Re: Proposal: OUT parameters for plpgsql

From: Christopher Kings-Lynne <chriskl(at)familyhealth(dot)com(dot)au>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Gavin Sherry <swm(at)linuxworld(dot)com(dot)au>,Greg Stark <gsstark(at)mit(dot)edu>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Proposal: OUT parameters for plpgsql
Date: 2005-03-22 01:36:39
Message-ID: 423F76A7.9020608@familyhealth.com.au (view raw or flat)
Thread:
Lists: pgsql-hackers
>>ANSI SQL allows at most one OUT parameter for a function (which can be
>>used instead of having the function return a value via the usual means).
> 
> OK, so that answers my question above: a single OUT parameter should be
> equated to an ordinary return value, not a RECORD, so as to emulate this
> aspect of the spec.

Shouldn't you have the spec in one hand while designing this feature? :D

Chris

In response to

Responses

pgsql-hackers by date

Next:From: Tom LaneDate: 2005-03-22 01:53:32
Subject: Re: Proposal: OUT parameters for plpgsql
Previous:From: Tom LaneDate: 2005-03-22 01:29:59
Subject: Re: Proposal: OUT parameters for plpgsql

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group