| От | Tom Lane |
|---|---|
| Тема | Re: more docs on extending postgres in C |
| Дата | |
| Msg-id | 1556.1264176166@sss.pgh.pa.us обсуждение |
| Ответ на | Re: more docs on extending postgres in C (Ivan Sergio Borgonovo <mail@webthatworks.it>) |
| Ответы |
Re: more docs on extending postgres in C
|
| Список | pgsql-general |
Ivan Sergio Borgonovo <mail@webthatworks.it> writes: > If I had to build stuff in the pg source tree I'd just clone a > contrib directory and change the makefile [1]. What am I supposed to > do if I'd like to create a contrib elsewhere (eg. > ~/Documents/nfs/projects/ts_extensions)? Use PGXS: http://www.postgresql.org/docs/8.4/static/xfunc-c.html#XFUNC-C-PGXS If the docs aren't enough for you, all of the contrib modules can be built via pgxs, using "make PGXS=1". So their makefiles are useful examples. regards, tom lane
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера