Passing arguments

Поиск
Список
Период
Сортировка
От pr0v4
Тема Passing arguments
Дата
Msg-id 277bae360609120230s31689c11y8d458c4a79d9bca4@mail.gmail.com
обсуждение исходный текст
Ответы Re: Passing arguments  (Michael Fuhr <mike@fuhr.org>)
Список 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 по дате отправления:

Предыдущее
От: Andreas Kretschmer
Дата:
Сообщение: Re: Problem with triggers and cursors
Следующее
От: Matthieu Guamis
Дата:
Сообщение: INSERT does not finish except if it is carried out a few minutes after the creation of the table