Abount max_stack_depth's default value

Поиск
Список
Период
Сортировка
Искать
От
Naoya Anzai
Тема
Abount max_stack_depth's default value
Дата
Msg-id
50CCAA8EE67154anzai-naoya@mxu.nes.nec.co.jp
Список
Дерево обсуждения
Abount max_stack_depth's default value Naoya Anzai <anzai-naoya@mxu.nes.nec.co.jp>
Re: Abount max_stack_depth's default value Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>
Hi,

On http://www.postgresql.org/docs/9.1/interactive/runtime-config-resource.html#RUNTIME-CONFIG-RESOURCE-MEMORY
max_stack_depth's default setting was wrote it is two megabytes. But,I think that this explanation is not true.
In my environment, When "`ulimit -s` - 512KB" value is less than 2MB, this value is set up as a default value.
And I also notice that If "ulimit -s" value is "unlimited", then "100KB" is set up on the PostgreSQL 9.0 and less.
So,I think that you should write that max_stack_depth's default setting depends on stack size when it is less than 2.5MB,
and "100KB" is set up on the PostgreSQL 9.0 and less when stack size is unlimited.

Regards.

---
Naoya Anzai
В списке pgsql-docs по дате отправления
От: Magnus Hagander
Дата:
От: Andrew Dunstan
Дата:
FAQ