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

From Kevin Grittner
Subject Re: include all the postgres libraries (C)
Date
Msg-id 1385139321.7997.YahooMailNeo@web162901.mail.bf1.yahoo.com
Whole thread Raw
In response to include all the postgres libraries (C)  ("Janek Sendrowski" <janek12@web.de>)
List pgsql-general
Janek Sendrowski <janek12@web.de> wrote:

> 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 might want to look at the directories under the contrib
directory.  It's not clear whether you are trying to write a client
application or something that will run on the backend, but you can
find examples of both in contrib.

Depending on what you are trying to do, this section of the docs
might help:

http://www.postgresql.org/docs/9.2/interactive/server-programming.html

--
Kevin Grittner
EDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company


pgsql-general by date:

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