SPI - Mailing list pgsql-general

From Danilo Freitas da Costa
Subject SPI
Date
Msg-id 455CB0C9.7040305@edza.com.br
Whole thread Raw
Responses Re: SPI  (Tomas Vondra <tv@fuzzy.cz>)
List pgsql-general
Hi all,

    I have some doubts about SPI (Server Programming Interface). In
fact, I must create Stored Procedures in Postgres (8.0). The problem
is: all stored procedures and, may be, some triggers must be compiled
'cause the clients can't access the source code of them.
    To solve this problem, the solution that I was found is create the
procedures (functions) in C with SPI to access the database.
    Now, the functions are writed in plgpsql. There are another ways to
compile the code? If not, someone there are samples how can I use C
with SPI?

Regards,
Danilo

pgsql-general by date:

Previous
From: Richard Huxton
Date:
Subject: Re: Partial index
Next
From: Jerry Sievers
Date:
Subject: Re: statement_timeout