Re: default of max_stack_depth - Mailing list pgsql-hackers

From Tom Lane
Subject Re: default of max_stack_depth
Date
Msg-id 18182.1281103326@sss.pgh.pa.us
Whole thread Raw
In response to default of max_stack_depth  (Fujii Masao <masao.fujii@gmail.com>)
Responses Re: default of max_stack_depth
List pgsql-hackers
Fujii Masao <masao.fujii@gmail.com> writes:
> 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?

The initial value needs to be small until we have been able to probe
rlimit and figure out what is safe.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Mike Fowler
Date:
Subject: Re: review: xml_is_well_formed
Next
From: Andrew Dunstan
Date:
Subject: Re: Initial review of xslt with no limits patch