pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Jon Horsman <horshaq@gmail.com>
Cc: sql pgsql <pgsql-sql@postgresql.org>
Subject: Re: When is a shared library unloaded?
Date: Tue, 14 Aug 2007 15:34:25 -0400
Message-ID: <10738.1187120065@sss.pgh.pa.us> (raw)
In-Reply-To: <4f4c2a010708141142p70c199ednab3ceffb4ce9f138@mail.gmail.com>
References: <4f4c2a010708141142p70c199ednab3ceffb4ce9f138@mail.gmail.com>

"Jon Horsman" <horshaq@gmail.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



view thread (4+ messages)  latest in thread

Message-ID: <10738.1187120065@sss.pgh.pa.us>
Permalink:  ../10738.1187120065@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/10738.1187120065@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: tgl@sss.pgh.pa.us, horshaq@gmail.com
  Subject: Re: When is a shared library unloaded?
  In-Reply-To: <10738.1187120065@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox