I have just realized that getrlimit(RLIMIT_STACK) is a
pretty widely
available syscall --- it's specified by the Single Unix
Spec and the
man pages claim it works on all the platforms I have handy to check.
I propose that we make use of this call where available to prevent
people
Magnus Hagander [EMAIL PROTECTED] 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
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.
If we do, we probably move it to a define (which
Magnus Hagander [EMAIL PROTECTED] writes:
Well, I can just wire that value into get_stack_depth_rlimit,
I suppose, but it sounds crocky.
If we do, we probably move it to a define (which could just be in the
Makefile) so we don't accidenally change one without the other, no?
I think we'd
Magnus Hagander [EMAIL PROTECTED] 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.
If we
I wrote:
I have just realized that getrlimit(RLIMIT_STACK) is a pretty widely
available syscall --- it's specified by the Single Unix Spec and the
man pages claim it works on all the platforms I have handy to check.
I propose that we make use of this call where available to prevent
people