Re: pl/python refcount bug - Mailing list pgsql-patches

From Neil Conway
Subject Re: pl/python refcount bug
Date
Msg-id 1136853272.9116.24.camel@localhost.localdomain
Whole thread Raw
In response to pl/python refcount bug  (Neil Conway <neilc@samurai.com>)
List pgsql-patches
On Mon, 2006-01-09 at 13:07 -0500, Neil Conway wrote:
> The fix is simple: set the local pointer to the current argument to NULL
> immediately after adding it to the argument list. This ensures that the
> Py_XDECREF() in the PG_CATCH() block doesn't double-decrement. I'd like
> to apply this to HEAD and back branches (as far back as PG_CATCH
> exists).

Applied to HEAD, REL8_1_STABLE, and REL8_0_STABLE.

-Neil



pgsql-patches by date:

Previous
From: Michael Glaesemann
Date:
Subject: Re: Proposed patch to change "missing FROM" messages
Next
From: Bruce Momjian
Date:
Subject: Re: [HACKERS] Inconsistent syntax in GRANT