Problem with PQexecPrepared

Поиск
Список
Период
Сортировка
От David Stanaway
Тема Problem with PQexecPrepared
Дата
Msg-id 1086817452.10544.5.camel@dmxnocws13.dialmex.net
обсуждение исходный текст
Ответы Re: Problem with PQexecPrepared  ("Jeroen T. Vermeulen" <jtv@xs4all.nl>)
Список pgsql-interfaces
Hi,

I am having a problem with a compiler warning using PQexecPrepared.
It is with the paramValues argument.

warning: passing arg 4 of `PQexecPrepared' from incompatible pointer
type

The type I am passing is a char** and it is expecting const char* const*

The parameters I am passing in a generated at runtime so I can supply a
const pointer. Am I missing something? Also, does someone have an
example using PQexecPrepared or PQexecParams using non-text params?

-- 
David Stanaway <david@stanaway.net>


В списке pgsql-interfaces по дате отправления:

Предыдущее
От: Senthil
Дата:
Сообщение: A doubt in pgtcl
Следующее
От: "Jeroen T. Vermeulen"
Дата:
Сообщение: Re: Problem with PQexecPrepared