X-Original-To: pgsql-interfaces-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by postgresql.org (Postfix) with ESMTP id 72AB511F6959 for ; Thu, 30 Mar 2006 00:40:25 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 17952-03 for ; Thu, 30 Mar 2006 00:40:23 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey- Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by postgresql.org (Postfix) with ESMTP id 1A3E411F6958 for ; Thu, 30 Mar 2006 00:40:22 -0400 (AST) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.13.6/8.13.6) with ESMTP id k2U4eHje010051; Wed, 29 Mar 2006 23:40:17 -0500 (EST) To: Keary Suska cc: Postgres-Interfaces Subject: Re: PQexecPrepared Problem with paramValues In-reply-to: References: Comments: In-reply-to Keary Suska message dated "Wed, 29 Mar 2006 21:20:21 -0700" Date: Wed, 29 Mar 2006 23:40:16 -0500 Message-ID: <10050.1143693616@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.114 required=5 tests=[AWL=0.114] X-Spam-Score: 0.114 X-Spam-Level: X-Archive-Number: 200603/32 X-Sequence-Number: 6088 Keary Suska writes: > I am assuming that this format is OK since the documentation doesn't > indicate that a proper two-dimensional array is required. No, what is needed is a one-D array of pointers to char[] strings. There isn't any use in concatenating those strings into one array, if you have them available as separate null-terminated strings. regards, tom lane