Content-Length: 277744 | pFad | http://github.com/postgrespro/postgres/commit/f73b765182b3ecb3bd3f14a9022e27c01b16cd21

B1 Add a comment about the initial default value of max_stack_depth. · postgrespro/postgres@f73b765 · GitHub
Skip to content

Commit f73b765

Browse files
committed
Add a comment about the initial default value of max_stack_depth.
1 parent 901c0ea commit f73b765

File tree

1 file changed

+6
-1
lines changed
  • src/backend/utils/misc

1 file changed

+6
-1
lines changed

src/backend/utils/misc/guc.c

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
* Written by Peter Eisentraut <peter_e@gmx.net>.
1111
*
1212
* IDENTIFICATION
13-
* $PostgreSQL: pgsql/src/backend/utils/misc/guc.c,v 1.565 2010/07/22 01:22:33 rhaas Exp $
13+
* $PostgreSQL: pgsql/src/backend/utils/misc/guc.c,v 1.566 2010/08/06 14:51:33 tgl Exp $
1414
*
1515
*--------------------------------------------------------------------
1616
*/
@@ -1520,6 +1520,11 @@ static struct config_int ConfigureNamesInt[] =
15201520
16384, 1024, MAX_KILOBYTES, NULL, NULL
15211521
},
15221522

1523+
/*
1524+
* We use the hopefully-safely-small value of 100kB as the compiled-in
1525+
* default for max_stack_depth. InitializeGUCOptions will increase it if
1526+
* possible, depending on the actual platform-specific stack limit.
1527+
*/
15231528
{
15241529
{"max_stack_depth", PGC_SUSET, RESOURCES_MEM,
15251530
gettext_noop("Sets the maximum stack depth, in kilobytes."),

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres/commit/f73b765182b3ecb3bd3f14a9022e27c01b16cd21

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy