[GENERAL] Stored procedures in C

2008-04-23 Thread Emiliano Moscato
Hi all, I have to do some stuff writing stored procedures for Postgres in C. I saw the oficial documentation but it was hard for me to find out how to do a simple function, let's call it "query()" , that receives a string and uses this string to do a query and return the results. Has anyone some e

Re: [GENERAL] Stored procedures in C

2008-04-24 Thread Emiliano Moscato
follow for me :( I would like to find an intermediate step. Thanks again Emiliano 2008/4/23 Andrej Ricnik-Bay <[EMAIL PROTECTED]>: > On 24/04/2008, Emiliano Moscato <[EMAIL PROTECTED]> wrote: > > I have to do some stuff writing stored procedures for Postgres in C. I > saw >

Re: [GENERAL] Stored procedures in C

2008-04-24 Thread Emiliano Moscato
Guys, it has nothing to do with my question :D I don't know why Martin answer to me anything about Cobol. I just was looking how to query database in a stored procedure in C. Some people pointed me to SPI documentation (at chapter 41 of oficial Postgres documentation) that is being useful. Thanks f