Re: Built-in support for a memory consumption ulimit? - Mailing list pgsql-hackers

From Greg Stark
Subject Re: Built-in support for a memory consumption ulimit?
Date
Msg-id CAM-w4HMOrP9B1Ncp6E5pnibA17u=_+YQMNONA1mmPZNBZinwow@mail.gmail.com
Whole thread Raw
In response to Re: Built-in support for a memory consumption ulimit?  (Robert Haas <robertmhaas@gmail.com>)
List pgsql-hackers
On Mon, Jun 16, 2014 at 9:08 PM, Robert Haas <robertmhaas@gmail.com> wrote:
> What happens if the limit is exceeded?  ERROR?  FATAL?  PANIC?

Well presumably it just makes malloc return NULL which causes an
ERROR. One advantage to setting it via a GUC is that it might be
possible to, for example, raise it automatically in critical sections
or during error unwinding.


-- 
greg



pgsql-hackers by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: delta relations in AFTER triggers
Next
From: Tom Lane
Date:
Subject: Re: Built-in support for a memory consumption ulimit?