Re: error linking with PostgreSQL

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: error linking with PostgreSQL
Дата
Msg-id 20351.1258942599@sss.pgh.pa.us
обсуждение исходный текст
Ответ на error linking with PostgreSQL  (Daniel <danwgrace@gmail.com>)
Список pgsql-general
Daniel <danwgrace@gmail.com> writes:
>     PGconn pg_conn;

You probably want that to be "PGconn *pg_conn;"

> db_util.h:11: error: field 'pg_conn' has incomplete type

libpq doesn't expose the struct type PGconn, only pointers to it.

            regards, tom lane

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

Предыдущее
От: Bino Oetomo
Дата:
Сообщение: How is the right query for this condition ?
Следующее
От: Brian Modra
Дата:
Сообщение: Re: How is the right query for this condition ?