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
Views: Raw Message | Whole Thread | Download mbox | Resend email
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

Browse pgsql-hackers by date

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