Re: PQexecPrepared Problem with paramValues

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: PQexecPrepared Problem with paramValues
Дата
Msg-id 10050.1143693616@sss.pgh.pa.us
обсуждение исходный текст
Ответ на PQexecPrepared Problem with paramValues  (Keary Suska <hierophant@pcisys.net>)
Список pgsql-interfaces
Keary Suska <hierophant@pcisys.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


В списке pgsql-interfaces по дате отправления:

Предыдущее
От: Keary Suska
Дата:
Сообщение: PQexecPrepared Problem with paramValues
Следующее
От: "Alistair Bayley"
Дата:
Сообщение: Example libpq program fails when built with mingw ld-2.15.91 on WinXP (but not ld-2.13.90)