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
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(at)stanaway(dot)net>
pgsql-interfaces by date
|Next:||From: Jeroen T. Vermeulen||Date: 2004-06-09 22:21:14|
|Subject: Re: Problem with PQexecPrepared|
|Previous:||From: Tom Lane||Date: 2004-06-09 14:53:41|
|Subject: Re: cleaning up in UDF's (user-defined functions) |