Executing queries in C functions

Started by Johann Uhrmannalmost 23 years ago2 messagesgeneral
Jump to latest
#1Johann Uhrmann
johann.uhrmann@xpecto.com

Hi,

is there a way to execute queries in C procedures?

The document at
http://www.postgresql.org/docs/view.php?version=7.3&idoc=1&file=xfunc-c.html

does not seem to describe how queries can be executed within the
procedure.

Thank You,

Johann Uhrmann

--
Johann Uhrmann
xpecto AG | Lindenstrasse 81 | D-84030 Ergolding
Telefon: 0700 xpecto 00 (0700 973286 00)
Telefax: 0700 xpecto 10 (0700 973286 10)
Internet: http://www.xpecto.com

#2Tom Lane
tgl@sss.pgh.pa.us
In reply to: Johann Uhrmann (#1)
Re: Executing queries in C functions

Johann Uhrmann <johann.uhrmann@xpecto.com> writes:

is there a way to execute queries in C procedures?

Read the chapter about SPI.

regards, tom lane