pg.ddx.io  pgsql-docs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Naoya Anzai <anzai-naoya@mxu.nes.nec.co.jp>
To: pgsql-docs@postgresql.org
Cc: Akio Iwaasa <iwaasa@mxs.nes.nec.co.jp>
Subject: Abount max_stack_depth's default value
Date: Thu, 24 Nov 2011 18:53:21 +0900
Message-ID: <50CCAA8EE67154anzai-naoya@mxu.nes.nec.co.jp> (raw)

Hi,

On http://www.postgresql.org/docs/9.1/interactive/runtime-config-resource.html#RUNTIME-CONFIG-RESOURCE-...
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



view thread (2+ messages)  latest in thread

Message-ID: <50CCAA8EE67154anzai-naoya@mxu.nes.nec.co.jp>
Permalink:  ../50CCAA8EE67154anzai-naoya@mxu.nes.nec.co.jp/
Also on:    postgresql.org/message-id/50CCAA8EE67154anzai-naoya@mxu.nes.nec.co.jp

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-docs@postgresql.org
  Cc: anzai-naoya@mxu.nes.nec.co.jp, iwaasa@mxs.nes.nec.co.jp
  Subject: Re: Abount max_stack_depth's default value
  In-Reply-To: <50CCAA8EE67154anzai-naoya@mxu.nes.nec.co.jp>
  References: <50CCAA8EE67154anzai-naoya@mxu.nes.nec.co.jp>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox