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

Peter Eisentraut <peter_e@gmx.net>

From: Peter Eisentraut <peter_e@gmx.net>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-hackers@postgresql.org
Date: 2010-07-08T18:40:51Z
Lists: 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