Skip site navigation (1) Skip section navigation (2)

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: (view raw, whole thread or download thread mbox)
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

pgsql-interfaces by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group