Skip site navigation (1) Skip section navigation (2)

Stored Procedures and libpq library

From: gausz(at)wp(dot)pl (Michal Galusza)
To: pgsql-general(at)postgresql(dot)org
Subject: Stored Procedures and libpq library
Date: 2004-08-20 10:15:35
Message-ID: 8ef4a1f3.0408200215.13ff2da5@posting.google.com (view raw or flat)
Thread:
Lists: 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

Next:From: Marco ColomboDate: 2004-08-20 11:06:39
Subject: Re: How to setup default value "0000-00-00" for "date"
Previous:From: Jeff DavisDate: 2004-08-20 09:48:02
Subject: Re: multimedia on postgresql

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group