SPI_execute (result of a select statement)

From: "Jasbinder Bali" <jsbali(at)gmail(dot)com>
To: pgsql-general(at)postgresql(dot)org, pgsql-novice(at)postgresql(dot)org
Subject: SPI_execute (result of a select statement)
Date: 2006-09-01 06:24:32
Message-ID: a47902760608312324yc7b1d2fyb90a60fb920dcb03@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-novice

Hi,

While using SPI_execute for a select statement, how do we store the result
returned by select statement (say a C variable)?
SPI_execute returns different values for success or failure only as per the
postgres manual.

Thanks,
Jas

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Gibson 2006-09-01 06:31:20 Re: Fatal error while installing
Previous Message Tom Lane 2006-09-01 06:11:41 Re: Roadmaps 'n all that

Browse pgsql-novice by date

  From Date Subject
Next Message Martijn van Oosterhout 2006-09-01 06:32:23 Re: SPI_execute (result of a select statement)
Previous Message Ron Petch 2006-09-01 03:51:47 Pgtcl