Re: pre_load_libraries - Mailing list pgsql-hackers

From Martijn van Oosterhout
Subject Re: pre_load_libraries
Date
Msg-id 20060713071603.GA14177@svana.org
Whole thread Raw
In response to Re: pre_load_libraries  (Marc Munro <marc@bloodnok.com>)
List pgsql-hackers
On Wed, Jul 12, 2006 at 06:47:56PM -0700, Marc Munro wrote:
> On a related note, I can see no way to release Veil's shared memory
> segment when postgres is shut down.   Perhaps I should be thinking about
> making the management of such shared memory segments something that
> postgres does on behalf of its add-ins, though that seems presumptious.

The easiest way is to simply delete the shared memory segment after
you've done the shmat(). The shmat() will hold onto it until postgres
quits and then be cleaned up by the OS.

Have a nice day,
--
Martijn van Oosterhout   <kleptog@svana.org>   http://svana.org/kleptog/
> From each according to his ability. To each according to his ability to litigate.

pgsql-hackers by date:

Previous
From: "Andrew Hammond"
Date:
Subject: postgresql.conf basic analysis tool
Next
From: "Zeugswetter Andreas DCP SD"
Date:
Subject: Re: Implied Functional Index use