Re: include all the postgres libraries (C)

From: Kevin Grittner <kgrittn(at)ymail(dot)com>
To: Janek Sendrowski <janek12(at)web(dot)de>, "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>
Subject: Re: include all the postgres libraries (C)
Date: 2013-11-22 16:55:21
Message-ID: 1385139321.7997.YahooMailNeo@web162901.mail.bf1.yahoo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Janek Sendrowski <janek12(at)web(dot)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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Alvaro Herrera 2013-11-22 17:05:44 Re: include all the postgres libraries (C)
Previous Message slapo 2013-11-22 16:54:20 Puzzling table scan in a CTE