Problem with PQexecPrepared - Mailing list pgsql-interfaces

From David Stanaway
Subject Problem with PQexecPrepared
Date
Msg-id 1086817452.10544.5.camel@dmxnocws13.dialmex.net
Whole thread Raw
Responses Re: Problem with PQexecPrepared  ("Jeroen T. Vermeulen" <jtv@xs4all.nl>)
List 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 by date:

Previous
From: Senthil
Date:
Subject: A doubt in pgtcl
Next
From: "Jeroen T. Vermeulen"
Date:
Subject: Re: Problem with PQexecPrepared