Re: Checking max_stack_depth automatically

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Magnus Hagander" <mha(at)sollentuna(dot)net>
Cc: pgsql-hackers(at)postgreSQL(dot)org
Subject: Re: Checking max_stack_depth automatically
Date: 2006-10-08 16:41:04
Message-ID: 24278.1160325664@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

"Magnus Hagander" <mha(at)sollentuna(dot)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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Magnus Hagander 2006-10-08 16:47:30 Re: Checking max_stack_depth automatically
Previous Message Pavel Stehule 2006-10-08 16:26:18 Re: PL/pgSQL Todo, better information in errcontext from plpgsql