hello every body
i have some problem with LOAD command
postgres=> LOAD '/usr/local/pgsql/complex.so';
pqReadData() -- backend closed the channel unexpectedly.
This probably means the backend terminated abnormally before or while
processing the request.
We have lost the connection to the backend, so further processing is
impossible. Terminating.
$>>
I build complex.so by:
>> gcc -I../include -I../backend -O2 -m486 -pipe -Wall
-Wmissing-prototypes -I../interfaces/libpq -I../../include -c
complex.c -o complex.o
>> ld -x -r -o complex.o.obj complex.o
>> ranlib complex.so.pic
>> ld -x -Bshareable -o complex.so complex.so.pic
I use FreeBSD-3.1 with PostgreSQL 6.4.2
thanks