Re: unchecked out of memory in postmaster.c - Mailing list pgsql-hackers

From Tom Lane
Subject Re: unchecked out of memory in postmaster.c
Date
Msg-id 17416.1239071887@sss.pgh.pa.us
Whole thread Raw
In response to Re: unchecked out of memory in postmaster.c  (Alvaro Herrera <alvherre@commandprompt.com>)
List pgsql-hackers
Alvaro Herrera <alvherre@commandprompt.com> writes:
> Tom Lane wrote:
>> If you're really intent on doing something about this, my inclination
>> would be to get rid of the dependence on DLNewElem altogether.  Add
>> a Dlelem field to the Backend struct and use DLInitElem (compare
>> the way catcache uses that module).

> Hmm, yeah, I had seen that code.  So it looks like this instead.

Looks a lot nicer to me ...
        regards, tom lane


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: more on out-of-memory
Next
From: Pavel Stehule
Date:
Subject: Re: default parameters for built-in functions (was Re: Documentation Update: Document pg_start_backup checkpoint behavior)