From a33fadfd6df1296fa0d3709926e2ba8c33cdeee4 Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Tue, 18 Oct 2005 21:43:33 +0000 Subject: [PATCH] Add an entry to the discussion of regression test failures about the possibility of a failure due to stack overflow when max_stack_depth is not set properly for the platform. --- doc/src/sgml/regress.sgml | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/doc/src/sgml/regress.sgml b/doc/src/sgml/regress.sgml index 742382af74..05749a3157 100644 --- a/doc/src/sgml/regress.sgml +++ b/doc/src/sgml/regress.sgml @@ -1,4 +1,4 @@ - + Regression Tests @@ -306,6 +306,21 @@ exclusion of those that don't. + + Insufficient stack depth + + + If the errors test results in a server crash + at the select infinite_recurse() command, it means that + the platform's limit on process stack size is smaller than the + parameter indicates. This + can be fixed by running the postmaster under a higher stack + size limit (4MB is recommended with the default value of + max_stack_depth). If you are unable to do that, an + alternative is to reduce the value of max_stack_depth. + + + The <quote>random</quote> test -- 2.40.0