Re: dynamic loading of .so - Mailing list pgsql-general

From Douglas McNaught
Subject Re: dynamic loading of .so
Date
Msg-id m2k6gdyp25.fsf@Douglas-McNaughts-Powerbook.local
Whole thread Raw
In response to Re: dynamic loading of .so  (<cristian@clickdiario.com>)
Responses Re: dynamic loading of .so  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-general
<cristian@clickdiario.com> writes:

> are there any way to make them global for all the instances?

Put them in shared memory.  This probably isn't trival, as all the
shared memory is allocated up front and used for existing purposes (at
least, as I understand it).

I guess you could always allocate your own shmem segment, but managing
it (and making sure it goes away when the backend exits) would be a
pain.

-Doug

pgsql-general by date:

Previous
From:
Date:
Subject: Re: dynamic loading of .so
Next
From: Francisco Reyes
Date:
Subject: Safe to kill idle connections?