Re: segfault in 9.5alpha - plpgsql function, implicit cast and IMMUTABLE cast function

From: Michael Paquier <michael(dot)paquier(at)gmail(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Geoff Winkless <pgsqladmin(at)geoff(dot)dj>, Pg Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: segfault in 9.5alpha - plpgsql function, implicit cast and IMMUTABLE cast function
Date: 2015-07-18 07:55:53
Message-ID: CAB7nPqTKboBSZPu4vbDEoifrNXnO0OQi5x+nzZftfMSdQYGwPA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Fri, Jul 17, 2015 at 11:37 PM, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
> Geoff Winkless <pgsqladmin(at)geoff(dot)dj> writes:
>> While doing some testing of 9.5a one of my colleagues (not on list) found a
>> reproducible server segfault.
>
> Hm, looks like commit 1345cc67bbb014209714af32b5681b1e11eaf964 is to
> blame: memory management for the plpgsql cast cache needs to be more
> complicated than I realized :-(.

And this issue is already fixed by 0fc94a5b.
--
Michael

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Alvaro Herrera 2015-07-18 09:11:43 Re: BRIN index and aborted transaction
Previous Message Jeff Davis 2015-07-18 05:53:01 Re: Memory Accounting v11