Re: Question on libpq parameters

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Question on libpq parameters
Дата
Msg-id 9558.1228020308@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Question on libpq parameters  (Owen Hartnett <owen@clipboardinc.com>)
Ответы Re: Question on libpq parameters  (Owen Hartnett <owen@clipboardinc.com>)
Список pgsql-general
Owen Hartnett <owen@clipboardinc.com> writes:
> The following libpq code chokes on me with invalid input to an
> integer parameter (state == PGRES_FATAL_ERR aPtr == "Error: Invalid
> Input syntax for integer """ .   It fails on the call to
> PQexecPrepared.  I suspect I'm not doing the parameters right.  Can
> anyone spot anything wrong?

You can't just point to integers as if they were strings.  Didn't
your compiler complain about that?

            regards, tom lane

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

Предыдущее
От: Owen Hartnett
Дата:
Сообщение: Question on libpq parameters
Следующее
От: Owen Hartnett
Дата:
Сообщение: Re: Question on libpq parameters