Skip to content

Commit a33fadf

Browse files
committed
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.
1 parent 220f2a7 commit a33fadf

File tree

1 file changed

+16
-1
lines changed

1 file changed

+16
-1
lines changed

doc/src/sgml/regress.sgml

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<!-- $PostgreSQL: pgsql/doc/src/sgml/regress.sgml,v 1.48 2005/10/13 23:41:07 tgl Exp $ -->
1+
<!-- $PostgreSQL: pgsql/doc/src/sgml/regress.sgml,v 1.49 2005/10/18 21:43:33 tgl Exp $ -->
22

33
<chapter id="regress">
44
<title id="regress-title">Regression Tests</title>
@@ -306,6 +306,21 @@ exclusion of those that don't.
306306
</para>
307307
</sect2>
308308

309+
<sect2>
310+
<title>Insufficient stack depth</title>
311+
312+
<para>
313+
If the <literal>errors</literal> test results in a server crash
314+
at the <literal>select infinite_recurse()</> command, it means that
315+
the platform's limit on process stack size is smaller than the
316+
<xref linkend="guc-max-stack-depth"> parameter indicates. This
317+
can be fixed by running the postmaster under a higher stack
318+
size limit (4MB is recommended with the default value of
319+
<varname>max_stack_depth</>). If you are unable to do that, an
320+
alternative is to reduce the value of <varname>max_stack_depth</>.
321+
</para>
322+
</sect2>
323+
309324
<sect2>
310325
<title>The <quote>random</quote> test</title>
311326

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy