On Monday 26 January 2004 18:37, Nuno Morgadinho wrote:
> Hello all,
>
> I'm messing around with the Server Programming Interface and the
> particular example presented at:
>
> http://www.postgresql.org/docs/current/interactive/spi-examples.html
>
> Ideally, I would want to make the example function return the
> information as a "set" and not through elog() so I can later access it
> and print it using PHP.
Don't do C functions myself, but I believe you might find the code in
/contrib/tablefunc useful
--
Richard Huxton
Archonet Ltd