Re: pl/python refcount bug

From: Neil Conway <neilc(at)samurai(dot)com>
To: pgsql-patches <pgsql-patches(at)postgresql(dot)org>
Subject: Re: pl/python refcount bug
Date: 2006-01-10 00:34:32
Message-ID: 1136853272.9116.24.camel@localhost.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Browse pgsql-patches by date

  From Date Subject
Next Message Bruce Momjian 2006-01-10 01:24:12 Re: [HACKERS] Inconsistent syntax in GRANT
Previous Message Michael Glaesemann 2006-01-10 00:04:06 Re: Proposed patch to change "missing FROM" messages