Passing arguments - Mailing list pgsql-novice

From pr0v4
Subject Passing arguments
Date
Msg-id 277bae360609120230s31689c11y8d458c4a79d9bca4@mail.gmail.com
Whole thread Raw
Responses Re: Passing arguments
List pgsql-novice
Can anyone show me few examples on passing variable values to query parameters??? I've tryed to search anything on google, but there is nothing useful. To be more specific I need examples with libpq library, wich meens I need code in C programming language. I've tryed examples from PostgreSQL source, but they also does not work! What I've learned is that I have to use PQexecParam... I need query wich will insert some data in postgresql database, but with  7 query parameters wich are variables (integers).

If someone know's hot to help, I will be gratefull!

pgsql-novice by date:

Previous
From: Andreas Kretschmer
Date:
Subject: Re: Problem with triggers and cursors
Next
From: Matthieu Guamis
Date:
Subject: INSERT does not finish except if it is carried out a few minutes after the creation of the table