Re: [HACKERS] How to manage shared library lifetime through C functions

2014-08-04 Thread Seref Arikan
Hi, On Mon, Aug 4, 2014 at 11:58 AM, Heikki Linnakangas wrote: > On 08/04/2014 01:31 PM, Seref Arikan wrote: > >> Thanks a lot Heikki and Albe. Exactly what I was asking for. >> Heikki: the libraries are written in languages that have their own runtime >> and their do

Re: [HACKERS] How to manage shared library lifetime through C functions

2014-08-04 Thread Seref Arikan
some data at session level between calls? Both calls of the same function and different C functions. (though temp table is always there as an option) Best regards Seref On Mon, Aug 4, 2014 at 11:17 AM, Heikki Linnakangas wrote: > On 08/04/2014 12:54 PM, Seref Arikan wrote: > >> Gre

[HACKERS] How to manage shared library lifetime through C functions

2014-08-04 Thread Seref Arikan
Greetings, I hope this is the right group to ask this question; apologies if this should go the general or some other list. I have multiple shared libraries that can be called from C that I'd like to use from a C based postgresql function. These libraries perform some expensive initialization and

[HACKERS] Detailed documentation for external calls (threading, shared resources etc)

2011-06-12 Thread Seref Arikan
Greetings, This is actually a request for documentation guidance. I intend to develop an extension to postgresql. Basically I'd like to place calls to network using ZeroMQ, and I need to have detailed information about a lot of things, especially threading issues. I need to have some global resour