View Single Post

   
  #7 (permalink)  
Old 04-11-2008, 04:09 AM
Christopher Kings-Lynne
 
Posts: n/a
Default Re: Proposal: OUT parameters for plpgsql

>>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?

Chris

---------------------------(end of broadcast)---------------------------
TIP 9: the planner will ignore your desire to choose an index scan if your
joining column's datatypes do not match

Reply With Quote