Re: pl/python refcount bug

Поиск
Список
Период
Сортировка
От Neil Conway
Тема Re: pl/python refcount bug
Дата
Msg-id 1136853272.9116.24.camel@localhost.localdomain
обсуждение исходный текст
Ответ на pl/python refcount bug  (Neil Conway <neilc@samurai.com>)
Список 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 по дате отправления:

Предыдущее
От: Michael Glaesemann
Дата:
Сообщение: Re: Proposed patch to change "missing FROM" messages
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: [HACKERS] Inconsistent syntax in GRANT