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

Re: Found small issue with OUT params

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Tony Caduto <tony_caduto(at)amsoftwaredesign(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Found small issue with OUT params
Date: 2005-09-29 02:02:54
Message-ID: 6612.1127959374@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-hackers
Tony Caduto <tony_caduto(at)amsoftwaredesign(dot)com> writes:
> Please don't take this the wrong way, but don't you think even if a 
> single param is declared as OUT it should return the name of the OUT param?

Not really, because "create function foo (in x int, out y float)" is
supposed to have the same external behavior as "create function foo
(in x int) returns float".  I agree it's a bit of a judgment call, but
I do not see a case for changing it.

			regards, tom lane

In response to

Responses

pgsql-hackers by date

Next:From: Bruce MomjianDate: 2005-09-29 02:04:09
Subject: Re: [PATCHES] Proposed patch for sequence-renaming problems
Previous:From: Bruce MomjianDate: 2005-09-29 01:45:05
Subject: Re: Open items list for 8.1

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