Re: pl/perl interpreter instance(s) - how long does it persist?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Toby Corkindale <toby(dot)corkindale(at)strategicdata(dot)com(dot)au>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: pl/perl interpreter instance(s) - how long does it persist?
Date: 2010-12-09 02:37:30
Message-ID: 26684.1291862250@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Toby Corkindale <toby(dot)corkindale(at)strategicdata(dot)com(dot)au> writes:
> I would like to know how long the pl/perl interpreter instances persist?

Till end of session.

> Initial testing seems to give me contrary results.
> In some cases, creating a new DB then loading the same module in a new
> stored procedure will get the old version.
> But in some other cases, the new DB will pick up the new version of the
> module.

"Creating a DB" doesn't affect the current session ... where in there
did you reconnect?

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Toby Corkindale 2010-12-09 02:44:58 Re: pl/perl interpreter instance(s) - how long does it persist?
Previous Message Toby Corkindale 2010-12-09 02:28:59 Re: pl/perl object destruction (or lack thereof) at session end