"Dave Page" <dpage@vale-housing.co.uk> writes:
>> [mailto:[EMAIL PROTECTED] On Behalf Of Tom Lane
>>> max_stack_depth = 65536                 # min 100, size in KB
>> 
>> Hmm, maybe this is the problem.  Are we sure Windows will 
>> allow a 64M stack?

> Looks like we used 4MB in the backend by default:
> http://archives.postgresql.org/pgsql-committers/2005-01/msg00386.php

D'oh.  Well, at the very least we have a documentation issue here.

Is it sensible to try to prevent people from raising the GUC variable
higher than the platform will allow?  It seems we can know the limit on
Windows, but on most other platforms I don't think there's any good way
to find it out.  (Which is why max_stack_depth is a SUSET variable ---
you're assumed to know what you are doing if you change it.)

                        regards, tom lane

---------------------------(end of broadcast)---------------------------
TIP 1: if posting/reading through Usenet, please send an appropriate
       subscribe-nomail command to [EMAIL PROTECTED] so that your
       message can get through to the mailing list cleanly

Reply via email to