Re: PQexecPrepared Problem with paramValues

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Keary Suska <hierophant(at)pcisys(dot)net>
Cc: Postgres-Interfaces <pgsql-interfaces(at)postgresql(dot)org>
Subject: Re: PQexecPrepared Problem with paramValues
Date: 2006-03-30 04:40:16
Message-ID: 10050.1143693616@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-interfaces

Keary Suska <hierophant(at)pcisys(dot)net> 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

In response to

Browse pgsql-interfaces by date

  From Date Subject
Next Message Keary Suska 2006-03-31 19:56:13 Asynchronous Queries/libpq
Previous Message Keary Suska 2006-03-30 04:20:21 PQexecPrepared Problem with paramValues