Re: plpython crash on exception

From: "Marko Kreen" <markokr(at)gmail(dot)com>
To: "Alvaro Herrera" <alvherre(at)alvh(dot)no-ip(dot)org>
Cc: "Postgres Patches" <pgsql-patches(at)postgresql(dot)org>
Subject: Re: plpython crash on exception
Date: 2007-11-23 06:49:05
Message-ID: e51f66da0711222249n2cd39136k6a0caa3db1534350@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches

On 11/23/07, Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)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

In response to

Responses

Browse pgsql-patches by date

  From Date Subject
Next Message Marko Kreen 2007-11-23 07:06:26 Re: plpython crash on exception
Previous Message Tom Lane 2007-11-23 06:16:00 Re: plpython crash on exception