default of max_stack_depth

From: Fujii Masao <masao(dot)fujii(at)gmail(dot)com>
To: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: default of max_stack_depth
Date: 2010-08-06 12:54:55
Message-ID: AANLkTikJKaj4rGRX1r918ORd-82T5SV9Tu0ZXygyNnHg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi,

The document says that the max_stack_depth is 2MB by default.
OTOH, in the source code, the variable max_stack_depth is
initialized with 100 (kB), and guc.c also uses 100 as the
default. Why?

This seems confusing to me though I know that
InitializeGUCOptions() sets max_stack_depth to 2MB.

Regards,

--
Fujii Masao
NIPPON TELEGRAPH AND TELEPHONE CORPORATION
NTT Open Source Software Center

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Alanoly Andrews 2010-08-06 13:10:15 postgres 9.0 crash when bringing up hot standby
Previous Message Robert Haas 2010-08-06 11:31:48 Re: review: xml_is_well_formed