Re: include all the postgres libraries (C) - Mailing list pgsql-general

From Alvaro Herrera
Subject Re: include all the postgres libraries (C)
Date
Msg-id 20131122170544.GO6041@eldon.alvh.no-ip.org
Whole thread Raw
In response to include all the postgres libraries (C)  ("Janek Sendrowski" <janek12@web.de>)
Responses Re: include all the postgres libraries (C)
List 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 by date:

Previous
From: Kevin Grittner
Date:
Subject: Re: include all the postgres libraries (C)
Next
From: Elliot
Date:
Subject: Re: Puzzling table scan in a CTE