Re: plpgsql returning array - Mailing list pgsql-php

From Marc McIntyre
Subject Re: plpgsql returning array
Date
Msg-id 45376362.40804@squiz.net
Whole thread Raw
In response to Re: plpgsql returning array  ("Jim C. Nasby" <jim@nasby.net>)
List pgsql-php
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.

pgsql-php by date:

Previous
From: "Jim C. Nasby"
Date:
Subject: Re: plpgsql returning array
Next
From: Dirk Becker
Date:
Subject: cant conect to dynamic host-URL