Re: Extending SQL with C, shared library problem - Mailing list pgsql-novice

From Tom Lane
Subject Re: Extending SQL with C, shared library problem
Date
Msg-id 25951.1121897382@sss.pgh.pa.us
Whole thread Raw
In response to Re: Extending SQL with C, shared library problem  (Shawn Garbett <shawn_garbett@yahoo.com>)
List pgsql-novice
Shawn Garbett <shawn_garbett@yahoo.com> writes:
> ... Or does the shared library get loaded
> separately for each process?

Effectively, yes.  You can preload the library in the postmaster if
startup time is a big concern, but each backend process will have its
own instances of the static variables.

            regards, tom lane

pgsql-novice by date:

Previous
From: Shawn Garbett
Date:
Subject: Re: Extending SQL with C, shared library problem
Next
From: Humberto Carvalho
Date:
Subject: auditorship in PostgreSQL