Re: [PATCH] fix segfault with DO and plperl/plperlu
Alex Hunsaker <badalex@gmail.com>
From: Alex Hunsaker <badalex@gmail.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: PostgreSQL-development <pgsql-hackers@postgresql.org>
Date: 2010-04-18T21:04:22Z
Lists: pgsql-hackers
On Sun, Apr 18, 2010 at 13:17, Tom Lane <tgl@sss.pgh.pa.us> wrote: > Alex Hunsaker <badalex@gmail.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!