Re: pl/python: fix ref leak on elog - Mailing list pgsql-patches

From Tom Lane
Subject Re: pl/python: fix ref leak on elog
Date
Msg-id 22517.1135881883@sss.pgh.pa.us
Whole thread Raw
In response to pl/python: fix ref leak on elog  (Neil Conway <neilc@samurai.com>)
Responses Re: pl/python: fix ref leak on elog  (Neil Conway <neilc@samurai.com>)
List pgsql-patches
Neil Conway <neilc@samurai.com> writes:
> Since the problem might actually occur in practice and the fix seems to
> have little chance of inducing a regression, I'm thinking of applying
> this to both HEAD and back branches. Barring any objections I'll do that
> later today or early tomorrow.

Looks alright to me.  I agree with backpatching as far back as we have
PG_TRY.  The reason for the FIXME was that there wasn't any simple way
to fix it before that ...

            regards, tom lane

pgsql-patches by date:

Previous
From: Tom Lane
Date:
Subject: Re: Fix spinlock usage in UnpinBuffer()
Next
From: "Qingqing Zhou"
Date:
Subject: Re: Fix spinlock usage in UnpinBuffer()