Re: include all the postgres libraries (C)

Поиск
Список
Период
Сортировка
От Kevin Grittner
Тема Re: include all the postgres libraries (C)
Дата
Msg-id 1385139321.7997.YahooMailNeo@web162901.mail.bf1.yahoo.com
обсуждение исходный текст
Ответ на include all the postgres libraries (C)  ("Janek Sendrowski" <janek12@web.de>)
Список 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 по дате отправления:

Предыдущее
От:
Дата:
Сообщение: Puzzling table scan in a CTE
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: include all the postgres libraries (C)