Re: Replace use malloc() & friend by memory contexts for plperl and pltcl - Mailing list pgsql-hackers

From Michael Paquier
Subject Re: Replace use malloc() & friend by memory contexts for plperl and pltcl
Date
Msg-id CAB7nPqR_7+JuWAqc3Tp6CHU00t-e=tjETK0wjFPDGHxq14OHQA@mail.gmail.com
Whole thread Raw
In response to Re: Replace use malloc() & friend by memory contexts for plperl and pltcl  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
On Thu, Sep 1, 2016 at 8:57 AM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> I wrote:
>> Michael Paquier <michael.paquier@gmail.com> writes:
>>> Attached are a set of patches to replace those memory system calls by
>>> proper memory contexts:
>>> - 0001 does the cleanup work for pltcl
>>> - 0002 does this cleanup for plperl
>
>> Off to look at 0002 next.
>
> Pushed 0002 as well.  The main thing missing there was to use a PG_TRY
> block to replace the bulky-and-yet-incomplete assorted invocations of
> free_plperl_function.

Thanks. That's neat!
-- 
Michael



pgsql-hackers by date:

Previous
From: "Joshua D. Drake"
Date:
Subject: restoration after crash slowness, any way to improve?
Next
From: Amit Kapila
Date:
Subject: Re: WAL consistency check facility