Stored Procedures and libpq library - Mailing list pgsql-general

From gausz@wp.pl (Michal Galusza)
Subject Stored Procedures and libpq library
Date
Msg-id 8ef4a1f3.0408200215.13ff2da5@posting.google.com
Whole thread Raw
List pgsql-general
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

pgsql-general by date:

Previous
From: Jeff Amiel
Date:
Subject: Re: int8, primary key, seq scan
Next
From: Marco Colombo
Date:
Subject: Re: How to setup default value "0000-00-00" for "date"