Обсуждение: Executing queries in C functions

Поиск
Список
Период
Сортировка

Executing queries in C functions

От
Johann Uhrmann
Дата:
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


Re: Executing queries in C functions

От
Tom Lane
Дата:
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