Solaris problem

Поиск
Список
Период
Сортировка
От Dmitry Balakshin
Тема Solaris problem
Дата
Msg-id 1098744408.20010125111055@nlr.ru
обсуждение исходный текст
Список pgsql-general
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.



В списке pgsql-general по дате отправления:

Предыдущее
От: "Anthony E . Greene"
Дата:
Сообщение: Re: Data Import
Следующее
От: Marc SCHAEFER
Дата:
Сообщение: Re: MySQL has transactions