Обсуждение: Stored Procedures and libpq library

Поиск
Список
Период
Сортировка

Stored Procedures and libpq library

От
gausz@wp.pl (Michal Galusza)
Дата:
Hi All,

in my project I need to call stored-function with parameters. The
procedure I use is PQexecParams(...) where char *paramValues[] is used
to pass arguments.
To call stored-function I use "select findFile($1);" The result is
that there is no value passed to the function but function executes
correcly and no error messages are returned. If run from command line
with arguments function works correctly. So where there is the
mistake? Please, help!

cheers,

Michal