From: David Stanaway <david@stanaway.net>
To: pgsql-interfaces@postgresql.org
Subject: Problem with PQexecPrepared
Date: Wed, 09 Jun 2004 16:44:12 -0500
Message-ID: <1086817452.10544.5.camel@dmxnocws13.dialmex.net> (raw)
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>
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-interfaces@postgresql.org
Cc: david@stanaway.net
Subject: Re: Problem with PQexecPrepared
In-Reply-To: <1086817452.10544.5.camel@dmxnocws13.dialmex.net>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox