Re: Stored procedures in C

From: "Andrej Ricnik-Bay" <andrej(dot)groups(at)gmail(dot)com>
To: "Emiliano Moscato" <moski666(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Stored procedures in C
Date: 2008-04-24 02:39:28
Message-ID: b35603930804231939p5ddb4daey11bbb294460b993e@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 24/04/2008, Emiliano Moscato <moski666(at)gmail(dot)com> wrote:
> 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 examples?

You don't mentioned where else you looked - did you come across these?

http://linuxgazette.net/139/peterson.html

http://www.faqs.org/docs/ppbook/x15284.htm

http://www.observercentral.net/~selkovjr/postgres/tutorial/html/exttut-getstart.html

> Thanks in advance...
> Regards,
>
> Emiliano

Cheers,
Andrej

--
Please don't top post, and don't use HTML e-Mail :} Make your quotes concise.

http://www.american.edu/econ/notes/htmlmail.htm

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message PontoSI - Consultoria, Informática e Serviços LDA 2008-04-24 04:44:04 error connecting to database: could not open relation
Previous Message Robert Treat 2008-04-24 01:49:26 Re: Column order