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

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Geoff Winkless <pgsqladmin(at)geoff(dot)dj>
Cc: 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-17 14:37:44
Message-ID: 12454.1437143864@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

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 :-(.

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Michael Paquier 2015-07-17 14:40:35 Re: [COMMITTERS] pgsql: Retain comments on indexes and constraints at ALTER TABLE ... TY
Previous Message Andrew Dunstan 2015-07-17 14:31:47 Re: [PATCH] Generalized JSON output functions