Re: include all the postgres libraries (C)

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: include all the postgres libraries (C)
Дата
Msg-id 20131122170544.GO6041@eldon.alvh.no-ip.org
обсуждение исходный текст
Ответ на include all the postgres libraries (C)  ("Janek Sendrowski" <janek12@web.de>)
Ответы Re: include all the postgres libraries (C)  ("Janek Sendrowski" <janek12@web.de>)
Список pgsql-general
Janek Sendrowski wrote:
> Hi,
>  
> I like to try some things with C and I need certain postgres libraries for it.
> This time, I'm including postgres.h for example, but postgres.h doesn't include it's files.
> How do I include the whole tree, or is there a certain directory I can use.
> I just want to compile and run the files for first.

You don't ever include all the header files we ship; most contain stuff
you don't care about.  Just list the ones you really need in separate
#include lines.

--
Álvaro Herrera                http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services


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

Предыдущее
От: Kevin Grittner
Дата:
Сообщение: Re: include all the postgres libraries (C)
Следующее
От: Elliot
Дата:
Сообщение: Re: Puzzling table scan in a CTE