Re: [PATCH] fix segfault with DO and plperl/plperlu

From: Alex Hunsaker <badalex(at)gmail(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: [PATCH] fix segfault with DO and plperl/plperlu
Date: 2010-04-18 21:04:22
Message-ID: m2q34d269d41004181404hef8dcf92l83bc4773cf451d58@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Sun, Apr 18, 2010 at 13:17, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
> Alex Hunsaker <badalex(at)gmail(dot)com> writes:
>> You get a segfault as we try to SvREFCNT_dec(...);
>
> Hmm.  I don't see a segfault on my machine, but I agree that this looks
> bogus.  I changed it to this order instead:
> [ ... ]
> so as to keep the "state restore" operations together.

Even better Thanks!

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Koichi Suzuki 2010-04-19 00:29:43 Re: How to generate specific WAL records?
Previous Message David Fetter 2010-04-18 20:23:21 Re: testing HS/SR - 1 vs 2 performance