Re: include all the postgres libraries (C)

From: Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>
To: Janek Sendrowski <janek12(at)web(dot)de>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: include all the postgres libraries (C)
Date: 2013-11-22 17:05:44
Message-ID: 20131122170544.GO6041@eldon.alvh.no-ip.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Elliot 2013-11-22 17:06:25 Re: Puzzling table scan in a CTE
Previous Message Kevin Grittner 2013-11-22 16:55:21 Re: include all the postgres libraries (C)