Re: testing plpython3u on 9.0beta2

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Andres Freund <andres(at)anarazel(dot)de>
Cc: pgsql-hackers(at)postgresql(dot)org, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Robert Haas <robertmhaas(at)gmail(dot)com>, Chris <rfusca(at)gmail(dot)com>
Subject: Re: testing plpython3u on 9.0beta2
Date: 2010-06-25 22:57:54
Message-ID: 1277506674.5356.27.camel@vanquo.pezone.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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.

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Mark Wong 2010-06-26 02:47:34 Re: parallelizing subplan execution (was: explain and PARAM_EXEC)
Previous Message Andres Freund 2010-06-25 21:44:46 Re: testing plpython3u on 9.0beta2