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-06 21:54:16
Message-ID: 1278453256.24375.3.camel@vanquo.pezone.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers pgsql-hackers

On tis, 2010-07-06 at 17:49 -0400, Tom Lane wrote:
> petere(at)postgresql(dot)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.

In response to

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Joshua D. Drake 2010-07-06 21:54:34 Re: [COMMITTERS] pgsql: Add note that using PL/Python 2 and 3 in the same session will
Previous Message Tom Lane 2010-07-06 21:49:37 Re: [COMMITTERS] pgsql: Add note that using PL/Python 2 and 3 in the same session will

Browse pgsql-hackers by date

  From Date Subject
Next Message Joshua D. Drake 2010-07-06 21:54:34 Re: [COMMITTERS] pgsql: Add note that using PL/Python 2 and 3 in the same session will
Previous Message Tom Lane 2010-07-06 21:49:37 Re: [COMMITTERS] pgsql: Add note that using PL/Python 2 and 3 in the same session will