| From: | pr0v4 <josip(dot)povreslo(at)gmail(dot)com> |
|---|---|
| To: | pgsql-novice(at)postgresql(dot)org |
| Subject: | Passing arguments |
| Date: | 2006-09-12 09:30:54 |
| Message-ID: | 277bae360609120230s31689c11y8d458c4a79d9bca4@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | 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!
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Matthieu Guamis | 2006-09-12 12:09:40 | INSERT does not finish except if it is carried out a few minutes after the creation of the table |
| Previous Message | Andreas Kretschmer | 2006-09-11 19:20:00 | Re: Problem with triggers and cursors |