SPI_????

From: Tourtounis Sotiris <tourtoun(at)csd(dot)uoc(dot)gr>
To: pgsql-general(at)postgresql(dot)org
Subject: SPI_????
Date: 2002-11-07 18:50:49
Message-ID: Pine.GSO.4.44.0211072045460.18662-100000@syros.csd.uch.gr
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

I want to ask a question that it may look totally stupid but i have stacked as
a new user of postgresql!!!

I want to take the result of a sql question of the general type "select
att0 ..." where att0 is text and to store it to a C variable of char *. I
have read that there is the SPI_exec that returns a number of the returned
tupels of the question - if the result of my question is the SPI_getvalue
could anyone show me a small example how to use it -if it's something
else i would appreciate your advice .Thanks a priori.

SWTHRHS TOYRTOYNHS
(tourtoun(at)csd(dot)uch(dot)gr)

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2002-11-07 18:55:18 Re: OT: mailing list delays
Previous Message Bruce Momjian 2002-11-07 18:42:57 Re: PostgreSQL on Linux and Solaris comparison