"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