Re: [COMMITTERS] pgsql: Add note that using PL/Python 2 and 3 in the same session will

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: [COMMITTERS] pgsql: Add note that using PL/Python 2 and 3 in the same session will
Date: 2010-07-08 18:40:51
Message-ID: 1278614451.25038.3.camel@vanquo.pezone.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers pgsql-hackers

On ons, 2010-07-07 at 17:31 -0400, Tom Lane wrote:
> Yeah, I was going to suggest something involving
> find_rendezvous_variable to let the two versions of plpython check for
> each other. But doesn't the error need to be elog(FATAL)? If you
> just
> elog(ERROR) then the conflicting version of python.so is already
> loaded
> and able to cause problems. elog(FATAL) isn't very desirable maybe
> but it beats crashing.

Done

In response to

Browse pgsql-committers by date

  From Date Subject
Next Message Peter Eisentraut 2010-07-08 18:42:12 pgsql: Install safeguard against running PL/Python 2 and 3 in the same
Previous Message Tom Lane 2010-07-08 16:46:42 Re: [HACKERS] pgsql: Add support for TCP keepalives on Windows, both for backend and

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2010-07-08 18:48:21 Re: inner join removal
Previous Message Robert Haas 2010-07-08 18:27:43 inner join removal