I have read through the fmgr's readme but havent been able to solve my problem with accessing the file. I gave the permissions: [root@localhost /]# chmod 777-r /ResourceFS" and have made sure the file i am trying to access does exist.
xy_db=# create or replace function file_check(varchar) returns varchar as xy_db-# '/root/resource_test.so','file_check' language 'c'; CREATE FUNCTION k2_db=# select file_check('/ResourceFS/IconFS/Alarm/My.gif'); server closed the connection unexpectedly This probably means the server terminated abnormally before or while processing the request. The connection to the server was lost. Attempting reset: Failed. !> \q