Re: plpython crash on exception - Mailing list pgsql-patches

From Marko Kreen
Subject Re: plpython crash on exception
Date
Msg-id e51f66da0711222249n2cd39136k6a0caa3db1534350@mail.gmail.com
Whole thread Raw
In response to Re: plpython crash on exception  (Alvaro Herrera <alvherre@alvh.no-ip.org>)
Responses Re: plpython crash on exception  (Alvaro Herrera <alvherre@alvh.no-ip.org>)
List pgsql-patches
On 11/23/07, Alvaro Herrera <alvherre@alvh.no-ip.org> wrote:
> Marko Kreen escribió:
> > Problem turns out to be va_list handling in PLy_vprintf() which
> > uses same va_list repeatedly.  Fix is to va_copy to temp variable.
>
> Marko, I just applied what I posted earlier today from 7.4 to 8.2 and
> HEAD.  I assume you had a more complex test case; please have a try with
> the code in CVS and let me know.

Thanks, I'll test it.

> (If you are really interested in a fix for 7.3, let me know too ... I
> couldn't even get plpython to run a trivial function due to RExec
> issues.  I didn't try 7.2).

RExec seems to hint that 7.3 can work only with python 2.2
and below.  What version did you try it on?

But no, I don't personally care about 7.3...

--
marko

pgsql-patches by date:

Previous
From: Tom Lane
Date:
Subject: Re: plpython crash on exception
Next
From: "Marko Kreen"
Date:
Subject: Re: plpython crash on exception