Hello!
I have a Postgres database under Linux. There I implemented a trigger,
which uses a C function. Everything works fine.
Now I need to transfer this base to Solaris 2.8 machine. And there I
have got a problem - I can't make my trigger work. I make a shared
library as it is written in docs. But when Postgres invokes C funciton, it
craches with message:
pqReadData() -- backend closed the channel unexpectedly.
This probably means the backend terminated abnormally
before or while processing the request.
I found out that it happens when Postgres trys to execute the very
first SPI function in my program.
I suspect I should compile/link my C function in some other way. Can
you help me with this problem?
Dima.
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера