Re: SPI_execute (result of a select statement) - Mailing list pgsql-general

From Martijn van Oosterhout
Subject Re: SPI_execute (result of a select statement)
Date
Msg-id 20060901075243.GG12644@svana.org
Whole thread Raw
In response to Re: SPI_execute (result of a select statement)  ("Jasbinder Bali" <jsbali@gmail.com>)
List 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.

Attachment

pgsql-general by date:

Previous
From: Martijn van Oosterhout
Date:
Subject: Re: Trigger (Transaction related)
Next
From: "karthick muthu"
Date:
Subject: argue