Re: Executing a query and returning the result set using the SPI

Поиск
Список
Период
Сортировка
От Richard Huxton
Тема Re: Executing a query and returning the result set using the SPI
Дата
Msg-id 200401270943.32217.dev@archonet.com
обсуждение исходный текст
Ответ на Executing a query and returning the result set using the SPI  (Nuno Morgadinho <l13591@alunos.uevora.pt>)
Список pgsql-general
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

В списке pgsql-general по дате отправления:

Предыдущее
От: "V i s h a l Kashyap @ [Sai Hertz And Control Systems]"
Дата:
Сообщение: Re: Reloading Template1
Следующее
От: Richard Huxton
Дата:
Сообщение: Re: crlf and copy