SPI

From: Danilo Freitas da Costa <cedes11(at)edza(dot)com(dot)br>
To: pgsql-general(at)postgresql(dot)org
Subject: SPI
Date: 2006-11-16 18:41:13
Message-ID: 455CB0C9.7040305@edza.com.br
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
<font face="Helvetica, Arial, sans-serif">Hi all,<br>
<br>
&nbsp;&nbsp;&nbsp; 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.<br>
&nbsp;&nbsp;&nbsp; To solve this problem, the solution that I was found is create the
procedures (functions) in C with SPI to access the database.<br>
&nbsp;&nbsp;&nbsp; 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?<br>
<br>
Regards,<br>
Danilo<br>
</font>
</body>
</html>

Attachment Content-Type Size
unknown_filename text/html 916 bytes

Responses

  • Re: SPI at 2006-11-17 23:16:20 from Tomas Vondra

Browse pgsql-general by date

  From Date Subject
Next Message Richard Huxton 2006-11-16 18:42:36 Re: Partial index
Previous Message Casey Duncan 2006-11-16 18:38:56 Re: statement_timeout