Skip site navigation (1) Skip section navigation (2)

Re: BUG #5835: PL/Python crashes

From: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
To: Alex Hunsaker <badalex(at)gmail(dot)com>
Cc: Julien Demoor <jdemoor(at)gmail(dot)com>, pgsql-bugs <pgsql-bugs(at)postgresql(dot)org>
Subject: Re: BUG #5835: PL/Python crashes
Date: 2011-01-17 16:09:56
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-bugs
Excerpts from Alex Hunsaker's message of vie ene 14 03:33:17 -0300 2011:
> On Thu, Jan 13, 2011 at 06:57, Julien Demoor <jdemoor(at)gmail(dot)com> wrote:

> It looks like we are not incrementing a reference count for NULL
> entries in an array.  The attached fixes it for me.  I did look for
> other places where we might have missed this and did not find any.  (
> the PyDict_SetItemString() that use Py_None look fishy, but apparently
> work ).

Thanks, applied to 9.0 and HEAD.

Álvaro Herrera <alvherre(at)commandprompt(dot)com>
The PostgreSQL Company - Command Prompt, Inc.
PostgreSQL Replication, Consulting, Custom Development, 24x7 support

In response to

pgsql-bugs by date

Next:From: Robert HaasDate: 2011-01-17 17:11:24
Subject: Re: Problems with adding a is not null to a query.
Previous:From: Alvaro HerreraDate: 2011-01-17 15:10:19
Subject: Re: BUG #5841: rank()+1 fails, 1+rank() succeeds

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group