Re: Stored procedures in C

Поиск
Список
Период
Сортировка
От Emiliano Moscato
Тема Re: Stored procedures in C
Дата
Msg-id 4388f4180804240544v3f794efh719e53341a17d108@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Stored procedures in C  ("Andrej Ricnik-Bay" <andrej.groups@gmail.com>)
Список pgsql-general
Thanks a lot for the response Andrej!

One of these texts was known for me. But all of them are VERY basic. No one explains how to do a query and manage results :(
The only one that manage querys is the source code placed at contrib/tablefunc in the Postgres distribution. But is VERY hard to follow for me :( I would like to find an intermediate step.
Thanks again

Emiliano

2008/4/23 Andrej Ricnik-Bay <andrej.groups@gmail.com>:
On 24/04/2008, Emiliano Moscato <moski666@gmail.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



--
mOsKi
"No hay nada que uno haga mal , lo que hay es poco vino." Autor Anonimo

В списке pgsql-general по дате отправления:

Предыдущее
От: Bohdan Linda
Дата:
Сообщение: PAM + Password authentication
Следующее
От: "Martin Gainty"
Дата:
Сообщение: Re: Stored procedures in C