Skip site navigation (1) Skip section navigation (2)

shared_preload_libraries support on Win32?

From: <korryd(at)enterprisedb(dot)com>
To: <pgsql-hackers(at)postgresql(dot)org>
Subject: shared_preload_libraries support on Win32?
Date: 2007-01-29 16:25:48
Message-ID: 1170087948.8452.139.camel@sakai.localdomain (view raw or flat)
Thread:
Lists: pgsql-hackers
(working on the PL debugger...) 

It appears that the libraries listed in shared_preload_libraries will
*not* be inherited by spawned backends on Win32 platforms.

Do we have to do something special to make that work?

Using ProcessExplorer (from sysinternals.com), I can see that my plugins
are loaded into the postmaster, but not into the individual backends.

If I set local_preload_libraries equal to shared_preload_libraries, the
plugins are loaded into the backends as expected (so it seems unlikely
that I have a pathname or permissions problem).

Should we just call process_shared_preload_libraries() after calling
read_nondefault_variables() (in SubPostmasterMain())?

            -- Korry


--
  Korry Douglas    korryd(at)enterprisedb(dot)com
  EnterpriseDB      http://www.enterprisedb.com

Responses

pgsql-hackers by date

Next:From: Tom LaneDate: 2007-01-29 16:32:57
Subject: Re: shared_preload_libraries support on Win32?
Previous:From: Heikki LinnakangasDate: 2007-01-29 15:53:42
Subject: Re: Phantom command ids again

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group