loading .so file at run time - Mailing list pgsql-hackers

From Rajmohan C
Subject loading .so file at run time
Date
Msg-id CAHaqV0hv4kG9GXzo1FLMoWxuXW9=v84UZp=2dYXAi1f35q_PTQ@mail.gmail.com
Whole thread Raw
Responses Re: loading .so file at run time  (Michael Paquier <michael.paquier@gmail.com>)
List pgsql-hackers
I am working with Postgresql 9.3.4 source using eclipse IDE in ubuntu 14.04. I have a library file abc.so to be loaded at run time when postgresql server starts. When I run the server with 

"-D /home/rajmohan/projects/TPCH_database"

 as argument in run configuration, I could see LOG message abc.so library loaded and I am able to call library methods at run time. But this requires a client to connect to server and pass cmds. But I want a stand-alone postgres server such that I can give commands directly from eclipse command prompt itself. For that when I set the argument in run configuration as 

"--single -D /home/rajmohan/projects/TPCH_database tpch", 

the library loaded log message doesnot appears and library does not load. How to load the library on stand-alone server and work? 


pgsql-hackers by date:

Previous
From: Jaime Casanova
Date:
Subject: Re: view reloptions
Next
From: Fabien COELHO
Date:
Subject: Re: make check For Extensions