Search Postgresql Archives

Re: return two elements

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Title: RE: return two elements

In future releases is planned to incorporate IN/OUT declaration in parameters of user functions?

-----Mensaje original-----
De: Tom Lane [mailto:tgl@xxxxxxxxxxxxx]
Enviado el: lunes 6 de junio de 2005 17:10
Para: "Rodríguez Rodríguez, Pere"
CC: pgsql-general@xxxxxxxxxxxxxx
Asunto: Re: return two elements


=?ISO-8859-1?Q?=22Rodr=EDguez_Rodr=EDguez=2C_Pere=22?= <prr@xxxxxxxxxx> writes:
> how can I write a function that return two or more elements?

In existing releases the best way to do this is to create a named
composite type and have the function return that, not RECORD.

                        regards, tom lane


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux