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

From Peter Eisentraut
Subject Re: [COMMITTERS] pgsql: Add note that using PL/Python 2 and 3 in the same session will
Date
Msg-id 1278453256.24375.3.camel@vanquo.pezone.net
Whole thread Raw
In response to Re: [COMMITTERS] pgsql: Add note that using PL/Python 2 and 3 in the same session will  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: [COMMITTERS] pgsql: Add note that using PL/Python 2 and 3 in the same session will
List pgsql-hackers
On tis, 2010-07-06 at 17:49 -0400, Tom Lane wrote:
> petere@postgresql.org (Peter Eisentraut) writes:
> > Log Message:
> > -----------
> > Add note that using PL/Python 2 and 3 in the same session will probably crash
> 
> Crash?  I can see people regarding that as a security problem.  Maybe we
> need to do something more pro-active to prevent such conflicts?

I don't see how.  Loading any module that uses the same symbols as
another already loaded modules can cause the same problem.



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: [COMMITTERS] pgsql: Add note that using PL/Python 2 and 3 in the same session will
Next
From: Andrew Dunstan
Date:
Subject: Re: Does mbutils.c really need to use L'\0' ?