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.
In response to
pgsql-php by date
|Next:||From: Amal burman||Date: 2006-10-26 18:11:47|
|Subject: PostgreSQL locking from PHP scripts|
|Previous:||From: Jim C. Nasby||Date: 2006-10-18 22:44:53|
|Subject: Re: plpgsql returning array|