| От | John Gunther |
|---|---|
| Тема | calling C++ functions from PostgreSQL |
| Дата | |
| Msg-id | 3E912965.3020101@bucksvsbytes.com обсуждение исходный текст |
| Ответы |
Re: calling C++ functions from PostgreSQL
|
| Список | pgsql-novice |
The PostgreSQL Programmer's Guide, Section 9.5, says "User-defined functions can be written in C (or a language that can be made compatible with C, such as C++)". Can someone point me to some examples or docs on how to make C++ compatible with C? Despite searching, I'm unable to find anything comprehensive that discusses calling C++ functions from C programs. Specifically, our C language pg functions depend heavily on a second C library (also used by other C applications) for functionality that isn't specific to pg (such as complex string manipulation). I'd like to migrate that generic C library to C++, but that requires calling the C++ routines, directly or through intermediate C functions, from pg.
В списке pgsql-novice по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера