pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Alvaro Herrera <alvherre@commandprompt.com>
To: Alex Hunsaker <badalex@gmail.com>
Cc: Julien Demoor <jdemoor@gmail.com>
Cc: pgsql-bugs <pgsql-bugs@postgresql.org>
Subject: Re: BUG #5835: PL/Python crashes
Date: Mon, 17 Jan 2011 13:09:56 -0300
Message-ID: <1295280568-sup-6518@alvh.no-ip.org> (raw)
In-Reply-To: <AANLkTi=6subm+p_zaStpLqJH7O0KGVyngjk0x59=P8hY@mail.gmail.com>
References: <201101131357.p0DDvT8E039516@wwwmaster.postgresql.org>
	<AANLkTi=6subm+p_zaStpLqJH7O0KGVyngjk0x59=P8hY@mail.gmail.com>

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@gmail.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@commandprompt.com>
The PostgreSQL Company - Command Prompt, Inc.
PostgreSQL Replication, Consulting, Custom Development, 24x7 support



view thread (4+ messages)

Message-ID: <1295280568-sup-6518@alvh.no-ip.org>
Permalink:  ../1295280568-sup-6518@alvh.no-ip.org/
Also on:    postgresql.org/message-id/1295280568-sup-6518@alvh.no-ip.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: alvherre@commandprompt.com, badalex@gmail.com, jdemoor@gmail.com
  Subject: Re: BUG #5835: PL/Python crashes
  In-Reply-To: <1295280568-sup-6518@alvh.no-ip.org>
  References: <201101131357.p0DDvT8E039516@wwwmaster.postgresql.org> <AANLkTi=6subm+p_zaStpLqJH7O0KGVyngjk0x59=P8hY@mail.gmail.com> <1295280568-sup-6518@alvh.no-ip.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox