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
Views: Raw Message | Whole Thread | Download mbox | Resend email
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

Browse pgsql-hackers by date

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