| От | Tom Lane |
|---|---|
| Тема | Re: PG Extensions: Must be statically linked? |
| Дата | |
| Msg-id | 12593.1141337490@sss.pgh.pa.us обсуждение |
| Ответ на | PG Extensions: Must be statically linked? ("Craig A. James" <cjames@modgraph-usa.com>) |
| Ответы |
Re: PG Extensions: Must be statically linked?
|
| Список | pgsql-hackers |
"Craig A. James" <cjames@modgraph-usa.com> writes:
> I'm creating user-defined server extensions, written in C per the
> manual "31.9. C-Language Functions". Everything works well, but only
> if I fully link the .so such that there are *no* unresolved external
> references at all. Not even the stuff in libstdc++.a can be left out.
If you're using libstdc++.a, you are not writing C. There is no support
for C++ in the backend, and I would strongly advise not trying to use
it, as any of C++'s moderately interesting features like exceptions will
not play nicely with the backend environment.
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера