Re: BUG #3594: Error while compilation --`PQexecParams' undeclared (first use this function)

Поиск
Список
Период
Сортировка
От Heikki Linnakangas
Тема Re: BUG #3594: Error while compilation --`PQexecParams' undeclared (first use this function)
Дата
Msg-id 46DBBCF2.4080506@enterprisedb.com
обсуждение исходный текст
Ответ на BUG #3594: Error while compilation --`PQexecParams' undeclared (first use this function)  ("Anil" <anil_gw@yahoo.com>)
Список pgsql-bugs
Anil wrote:
> I am trying to insert data to the table using PQexecParams API, but find
> errors as
>
> `PQexecParams' undeclared (first use this function) while compilation of the
> source code.
>
> Above is unexpected errors, since all others Postgres API complies and work
> correctly. I verified the input arguments passed/ include path for libray/
> header files, and have tried all possbile cases to rectify this error but
> coulnd't do so.

PQexecParams was introduced in version 7.4. I noted that you're running
a 2.4 era kernel, so it's quite possible that your Linux distribution
came with PostgreSQL 7.3 and installed the header files in
/usr/src/include. Make sure the new header files come first in the
include path, or remove the old version altogether.

--
  Heikki Linnakangas
  EnterpriseDB   http://www.enterprisedb.com

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

Предыдущее
От: "Anil"
Дата:
Сообщение: BUG #3594: Error while compilation --`PQexecParams' undeclared (first use this function)
Следующее
От: "Jukka Holappa"
Дата:
Сообщение: BUG #3595: Segmentation fault with a simple select query