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