Abount max_stack_depth's default value

From: Naoya Anzai <anzai-naoya(at)mxu(dot)nes(dot)nec(dot)co(dot)jp>
To: pgsql-docs(at)postgresql(dot)org
Cc: Akio Iwaasa <iwaasa(at)mxs(dot)nes(dot)nec(dot)co(dot)jp>
Subject: Abount max_stack_depth's default value
Date: 2011-11-24 09:53:21
Message-ID: 50CCAA8EE67154anzai-naoya@mxu.nes.nec.co.jp
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-docs

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

Responses

Browse pgsql-docs by date

  From Date Subject
Next Message Andrew Dunstan 2011-11-24 17:44:18 Re: PG documentation build is wedged
Previous Message Magnus Hagander 2011-11-24 07:43:56 Re: PG documentation build is wedged