Re: SPI_execute (result of a select statement)

Поиск
Список
Период
Сортировка
От Martijn van Oosterhout
Тема Re: SPI_execute (result of a select statement)
Дата
Msg-id 20060901075243.GG12644@svana.org
обсуждение исходный текст
Ответ на Re: SPI_execute (result of a select statement)  ("Jasbinder Bali" <jsbali@gmail.com>)
Список pgsql-general
On Fri, Sep 01, 2006 at 03:41:12AM -0400, Jasbinder Bali wrote:
> The structure SPITupleTable is defined thus:

<snip>

> If the select query returns 10 rows (say),
> how to access the result of each row separately?

<snip>

Read this:

> >http://www.postgresql.org/docs/8.1/interactive/spi-interface-support.html

I would say that the example should clear up most of your questions:

http://www.postgresql.org/docs/8.1/interactive/spi-examples.html

Hope this helps,
--
Martijn van Oosterhout   <kleptog@svana.org>   http://svana.org/kleptog/
> From each according to his ability. To each according to his ability to litigate.

Вложения

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

Предыдущее
От: Martijn van Oosterhout
Дата:
Сообщение: Re: Trigger (Transaction related)
Следующее
От: "karthick muthu"
Дата:
Сообщение: argue