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

Re: shared_preload_libraries support on Win32?

From: <korryd(at)enterprisedb(dot)com>
To: "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: "Andrew Dunstan" <andrew(at)dunslane(dot)net>,<pgsql-hackers(at)postgresql(dot)org>
Subject: Re: shared_preload_libraries support on Win32?
Date: 2007-01-29 18:21:26
Message-ID: 1170094886.8452.144.camel@sakai.localdomain (view raw or flat)
Thread:
Lists: pgsql-hackers
> Actually ... I take that back.  I was thinking of the original purpose
> of preload_libraries, which was strictly performance optimization.
> But in the new world of plugins there may be functional reasons for
> wanting libraries to be loaded into backends --- and
> shared_preload_libraries is not isomorphic to local_preload_libraries.
> The permissions situation is different.


And, shared_preload_libraries is processed (in the postmaster) before
the shared-memory segment is created, so a shared_preload_library can
call RequestAddinShmemSpace() and RequestAddinLWLocks(), but a
local_preload_library cannot.


            -- Korry

In response to

Responses

pgsql-hackers by date

Next:From: Stefan KaltenbrunnerDate: 2007-01-29 18:22:39
Subject: Re: weird buildfarm failures on arm/mipsel and --with-tcl
Previous:From: Magnus HaganderDate: 2007-01-29 17:49:28
Subject: Re: 10 weeks to feature freeze (Pending Work)

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