Re: Built-in support for a memory consumption ulimit?

Поиск
Список
Период
Сортировка
От Greg Stark
Тема Re: Built-in support for a memory consumption ulimit?
Дата
Msg-id CAM-w4HMOrP9B1Ncp6E5pnibA17u=_+YQMNONA1mmPZNBZinwow@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Built-in support for a memory consumption ulimit?  (Robert Haas <robertmhaas@gmail.com>)
Список 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 по дате отправления:

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: delta relations in AFTER triggers
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Built-in support for a memory consumption ulimit?