aboutsummaryrefslogtreecommitdiff
path: root/doc/src
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2005-10-18 21:43:33 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2005-10-18 21:43:33 +0000
commita33fadfd6df1296fa0d3709926e2ba8c33cdeee4 (patch)
tree72963de5422dfae03f5568404b935f14258233a7 /doc/src
parent220f2a7d15adc6ca811a3cbe5fee79ce4904cd91 (diff)
downloadpostgresql-a33fadfd6df1296fa0d3709926e2ba8c33cdeee4.tar.gz
postgresql-a33fadfd6df1296fa0d3709926e2ba8c33cdeee4.zip
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.
Diffstat (limited to 'doc/src')
-rw-r--r--doc/src/sgml/regress.sgml17
1 files changed, 16 insertions, 1 deletions
diff --git a/doc/src/sgml/regress.sgml b/doc/src/sgml/regress.sgml
index 742382af740..05749a3157b 100644
--- a/doc/src/sgml/regress.sgml
+++ b/doc/src/sgml/regress.sgml
@@ -1,4 +1,4 @@
-<!-- $PostgreSQL: pgsql/doc/src/sgml/regress.sgml,v 1.48 2005/10/13 23:41:07 tgl Exp $ -->
+<!-- $PostgreSQL: pgsql/doc/src/sgml/regress.sgml,v 1.49 2005/10/18 21:43:33 tgl Exp $ -->
<chapter id="regress">
<title id="regress-title">Regression Tests</title>
@@ -307,6 +307,21 @@ exclusion of those that don't.
</sect2>
<sect2>
+ <title>Insufficient stack depth</title>
+
+ <para>
+ If the <literal>errors</literal> test results in a server crash
+ at the <literal>select infinite_recurse()</> command, it means that
+ the platform's limit on process stack size is smaller than the
+ <xref linkend="guc-max-stack-depth"> parameter indicates. This
+ can be fixed by running the postmaster under a higher stack
+ size limit (4MB is recommended with the default value of
+ <varname>max_stack_depth</>). If you are unable to do that, an
+ alternative is to reduce the value of <varname>max_stack_depth</>.
+ </para>
+ </sect2>
+
+ <sect2>
<title>The <quote>random</quote> test</title>
<para>