problem with LOAD - Mailing list pgsql-interfaces

From abdelkrim
Subject problem with LOAD
Date
Msg-id 37444F26.B1BC47A@idianet.net
Whole thread Raw
Responses Re: [INTERFACES] problem with LOAD  (Oleg Bartunov <oleg@sai.msu.su>)
List pgsql-interfaces
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



pgsql-interfaces by date:

Previous
From: root
Date:
Subject: lo_read error ???
Next
From: Oleg Bartunov
Date:
Subject: Re: [INTERFACES] problem with LOAD