| От | Andrew Gold |
|---|---|
| Тема | C function linkage and testing |
| Дата | |
| Msg-id | 40C09F5D.2070003@cbamedia.com обсуждение исходный текст |
| Ответы |
Re: C function linkage and testing
|
| Список | pgsql-interfaces |
Hi All, This is my first posting to the list, so please be gentle. ;-) I'm writing a number of C SQL-extension functions and it occurred to me that I might need to debug these things as some point. If I want to create my own main () function to exercise my extensions, what Postgres libraries do I need to link against? For example, the VARSIZE and VARDATA macros are wrapped around internal functions; palloc and pfree also have dependencies. If I want to use these calls within my extensions, and I want to run my extensions separately for debugging / validation purposes, what libraries should I link against? Any help is welcome. Andrew Gold
В списке pgsql-interfaces по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера