Re: Default of max_stack_depth and getrlimit

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Default of max_stack_depth and getrlimit
Дата
Msg-id 13554.1216652557@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Default of max_stack_depth and getrlimit  ("Heikki Linnakangas" <heikki@enterprisedb.com>)
Ответы Re: Default of max_stack_depth and getrlimit  ("Heikki Linnakangas" <heikki@enterprisedb.com>)
Список pgsql-hackers
"Heikki Linnakangas" <heikki@enterprisedb.com> writes:
> In 8.2, we started to use getrlimit(RLIMIT_STACK, ...) to set 
> max_stack_depth automatically, to a max of 2MB:

> http://archives.postgresql.org/pgsql-hackers/2006-10/msg00389.php

> However, it's not behaving as I expected when the stack limit is set to 
> "unlimited".

Is there really any such thing as "unlimited" stack depth?  I think that
treating that as "unknown" is a good conservative thing to do, because
it is surely a lie.
        regards, tom lane


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Markus Wanner
Дата:
Сообщение: Re: Re: [COMMITTERS] pgsql: Adjust things so that the query_string of a cached plan and the
Следующее
От: Grzegorz Jaśkiewicz
Дата:
Сообщение: Re: overlaps performance