Re: Extending SQL with C, shared library problem

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Shawn Garbett <shawn_garbett(at)yahoo(dot)com>
Cc: pgsql-novice(at)postgresql(dot)org
Subject: Re: Extending SQL with C, shared library problem
Date: 2005-07-20 22:09:42
Message-ID: 25951.1121897382@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

Shawn Garbett <shawn_garbett(at)yahoo(dot)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

In response to

Browse pgsql-novice by date

  From Date Subject
Next Message dmsoft 2005-07-21 16:17:31 Re: pgsql error interpretation issue. solved - sort of...
Previous Message Shawn Garbett 2005-07-20 22:03:15 Re: Extending SQL with C, shared library problem