Re: plpgsql returning array

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



Jim C. Nasby wrote:
Isn't there a way to return an array? SRFs are great, but not always the
best tool.

There's no way to nicely map an array from a plpgsql SF to a php array. (Ie. the driver won't do that for you, AFAIK) I find that array returning functions are useful when calling from other functions, and set returning functions
are great when you wish to get a result set back to php.


[Postgresql General]     [Postgresql Admin]     [PHP Users]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Databases]     [Yosemite Backpacking]     [Postgresql Jobs]

Add to Google Powered by Linux