X-Original-To: pgsql-interfaces-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 19271D1B1A1 for ; Wed, 9 Jun 2004 18:44:22 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 52273-08 for ; Wed, 9 Jun 2004 21:44:15 +0000 (GMT) Received: from mail.dialmex.net (67.107.77.98.ptr.us.xo.net [67.107.77.98]) by svr1.postgresql.org (Postfix) with ESMTP id 27497D1B18A for ; Wed, 9 Jun 2004 18:44:12 -0300 (ADT) Received: from david.dialmex.net (dmxnocws13.dialmex.net [67.107.77.78]) by mail.dialmex.net (Postfix) with ESMTP id 826E6EE996 for ; Wed, 9 Jun 2004 16:44:13 -0500 (CDT) Received: by david.dialmex.net (Postfix, from userid 4001) id E138C1461116; Wed, 9 Jun 2004 16:44:12 -0500 (CDT) Subject: Problem with PQexecPrepared From: David Stanaway To: pgsql-interfaces@postgresql.org Content-Type: text/plain Content-Transfer-Encoding: 7bit Message-Id: <1086817452.10544.5.camel@dmxnocws13.dialmex.net> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6 Date: Wed, 09 Jun 2004 16:44:12 -0500 X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.0 tagged_above=0.0 required=5.0 tests= X-Spam-Level: X-Archive-Number: 200406/20 X-Sequence-Number: 4948 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