Solaris problem

From: Dmitry Balakshin <dima(at)nlr(dot)ru>
To: pgsql-general(at)postgresql(dot)org
Subject: Solaris problem
Date: 2001-01-25 08:10:55
Message-ID: 1098744408.20010125111055@nlr.ru
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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.

Browse pgsql-general by date

  From Date Subject
Next Message Marc SCHAEFER 2001-01-25 08:13:59 Re: MySQL has transactions
Previous Message Anthony E . Greene 2001-01-25 08:09:43 Re: Data Import