|
10 | 10 | * Written by Peter Eisentraut <peter_e@gmx.net>.
|
11 | 11 | *
|
12 | 12 | * IDENTIFICATION
|
13 |
| - * $PostgreSQL: pgsql/src/backend/utils/misc/guc.c,v 1.565 2010/07/22 01:22:33rhaas Exp $ |
| 13 | + * $PostgreSQL: pgsql/src/backend/utils/misc/guc.c,v 1.566 2010/08/06 14:51:33tgl Exp $ |
14 | 14 | *
|
15 | 15 | *--------------------------------------------------------------------
|
16 | 16 | */
|
@@ -1520,6 +1520,11 @@ static struct config_int ConfigureNamesInt[] =
|
1520 | 1520 | 16384,1024,MAX_KILOBYTES,NULL,NULL
|
1521 | 1521 | },
|
1522 | 1522 |
|
| 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 | + */ |
1523 | 1528 | {
|
1524 | 1529 | {"max_stack_depth",PGC_SUSET,RESOURCES_MEM,
|
1525 | 1530 | gettext_noop("Sets the maximum stack depth, in kilobytes."),
|
|