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

Peripheral Links

Header And Logo

PostgreSQL
| The world's most advanced open source database.

Site Navigation

Search for
  Advanced Search

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: Wed, 28 Sep 2005 22:02:54 -0400
  • Message-id: <6612(dot)1127959374(at)sss(dot)pgh(dot)pa(dot)us>

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



Home | Main Index | Thread Index

Privacy Policy | PostgreSQL Archives hosted by Command Prompt, Inc. | Designed by tinysofa
Copyright © 1996 – 2008 PostgreSQL Global Development Group