From: | "Jon Horsman" <horshaq(at)gmail(dot)com> |
---|---|
To: | "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | "sql pgsql" <pgsql-sql(at)postgresql(dot)org> |
Subject: | Re: When is a shared library unloaded? |
Date: | 2007-08-15 13:16:23 |
Message-ID: | 4f4c2a010708150616se51de62u3c59d7722c3d5097@mail.gmail.com |
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
Yup, the server process is still up and going, i have other clients
connected to postgres that still function when this happens. I'm not
using the LOAD command anywhere so thats not the problem. One of my
colleagues was doing some reading and said he found something that
stating that the fini() function is "unreliable", i'm not sure where
he read that though...
Jon.
From | Date | Subject | |
---|---|---|---|
Next Message | Decibel! | 2007-08-15 18:28:33 | Re: Trigger Procedure Error: NEW used in query that is not in a rule |
Previous Message | Loredana Curugiu | 2007-08-15 12:42:38 | Re: [JDBC] Install two different versions of postgres which should run in parallel |