Stored procedures in C

Поиск
Список
Период
Сортировка
Искать
От
Emiliano Moscato
Тема
Stored procedures in C
Дата
Msg-id
4388f4180804231232u55c37fccob3ef9d0fb009521f@mail.gmail.com
Список
Дерево обсуждения
Re: Stored procedures in C "Martin Gainty" <mgainty@hotmail.com>
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 examples?
I am looking at crosstab() example at contrib/tablefunc/tablefunc.c, but it is hard to follow, cause it does more complicated stuff.
Thanks in advance...
Regards,

Emiliano
--
mOsKi
"No hay nada que uno haga mal , lo que hay es poco vino." Autor Anonimo
В списке pgsql-general по дате отправления
От: James Strater
Дата:
От: Roberts, Jon
Дата:
FAQ