Re: When is a shared library unloaded?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Jon Horsman" <horshaq(at)gmail(dot)com>
Cc: "sql pgsql" <pgsql-sql(at)postgresql(dot)org>
Subject: Re: When is a shared library unloaded?
Date: 2007-08-14 19:34:25
Message-ID: 10738.1187120065@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

"Jon Horsman" <horshaq(at)gmail(dot)com> writes:
> I'm randomly having issues with my triggers not firing (it turns out
> they are getting removed) and when i turned INFO logs on i saw the
> following

> 2007-08-14 13:41:44.740305500 LOCATION: _fini, medbevent_init.c:129
> 2007-08-14 13:41:45.790850500 INFO: 00000: medbeventlib -Unloading
> library _fini() is called

> Could someone please explain when a shared library gets
> loaded/unloaded and how this all works?

Are you sure the above doesn't just occur during server process
termination? AFAIK Postgres never unloads a library, except when you
specifically command it to load an updated version via the LOAD command.

regards, tom lane

In response to

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message Phillip Smith 2007-08-15 03:15:21 Re: populate value of column
Previous Message Jon Horsman 2007-08-14 18:42:15 When is a shared library unloaded?