Re: testing plpython3u on 9.0beta2 - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: testing plpython3u on 9.0beta2
Date
Msg-id 1277506674.5356.27.camel@vanquo.pezone.net
Whole thread Raw
In response to Re: testing plpython3u on 9.0beta2  (Andres Freund <andres@anarazel.de>)
Responses Re: testing plpython3u on 9.0beta2  (Peter Eisentraut <peter_e@gmx.net>)
List pgsql-hackers
On fre, 2010-06-25 at 23:44 +0200, Andres Freund wrote:
> Has anybody actually researched if it is safe to run python2 and
> python3 in the same address space?

You can't run plpython2 and plpython3 in the same session, because the
libraries are loaded with dlopen(RTLD_GLOBAL) (with RTLD_LOCAL it would
apparently work).  But you can use them in different sessions on the
same database, for example.



pgsql-hackers by date:

Previous
From: Andres Freund
Date:
Subject: Re: testing plpython3u on 9.0beta2
Next
From: Mark Wong
Date:
Subject: Re: parallelizing subplan execution (was: explain and PARAM_EXEC)