Re: Checking max_stack_depth automatically - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Checking max_stack_depth automatically
Date
Msg-id 24278.1160325664@sss.pgh.pa.us
Whole thread Raw
In response to Re: Checking max_stack_depth automatically  ("Magnus Hagander" <mha@sollentuna.net>)
Responses Re: Checking max_stack_depth automatically  ("Magnus Hagander" <mha@sollentuna.net>)
List pgsql-hackers
"Magnus Hagander" <mha@sollentuna.net> writes:
> For win32, we set the stacksize in src/backend/Makefile with
> "-Wl,--stack=4194304". So we know at build time what it is, if that
> helps you...

Well, I can just wire that value into get_stack_depth_rlimit, I suppose,
but it sounds crocky.  There's no way to tell at runtime what value was
set?
        regards, tom lane


pgsql-hackers by date:

Previous
From: "Pavel Stehule"
Date:
Subject: Re: PL/pgSQL Todo, better information in errcontext from plpgsql
Next
From: "Magnus Hagander"
Date:
Subject: Re: Checking max_stack_depth automatically