Search Postgresql Archives

Re: select as params to function

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

 



On 2/17/2012 2:49 PM, Merlin Moncure wrote:
On Fri, Feb 17, 2012 at 2:32 PM, Andy Colson<andy@xxxxxxxxxxxxxxx>  wrote:
On 2/17/2012 2:11 PM, Pavel Stehule wrote:

Hello

PostgreSQL has no table data type. You can use a array of records instead

and then

select fx((select array(select * from tab)));

select fx(array(select t from tab t));

fx takes tab[]

merlin


Oh, I see, I need to change my function too.

Thanks,

-Andy

--
Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general


[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