diff options
Diffstat (limited to 'src/backend/utils/misc')
| -rw-r--r-- | src/backend/utils/misc/guc.c | 21 | ||||
| -rw-r--r-- | src/backend/utils/misc/postgresql.conf.sample | 5 |
2 files changed, 14 insertions, 12 deletions
diff --git a/src/backend/utils/misc/guc.c b/src/backend/utils/misc/guc.c index 280977d60c1..c14b4286930 100644 --- a/src/backend/utils/misc/guc.c +++ b/src/backend/utils/misc/guc.c @@ -10,7 +10,7 @@ * Written by Peter Eisentraut <peter_e@gmx.net>. * * IDENTIFICATION - * $PostgreSQL: pgsql/src/backend/utils/misc/guc.c,v 1.192 2004/03/23 01:23:48 tgl Exp $ + * $PostgreSQL: pgsql/src/backend/utils/misc/guc.c,v 1.193 2004/03/24 22:40:29 tgl Exp $ * *-------------------------------------------------------------------- */ @@ -1024,6 +1024,15 @@ static struct config_int ConfigureNamesInt[] = }, { + {"max_stack_depth", PGC_SUSET, RESOURCES_MEM, + gettext_noop("Sets the maximum stack depth, in kilobytes."), + NULL + }, + &max_stack_depth, + 2048, 100, INT_MAX / 1024, assign_max_stack_depth, NULL + }, + + { {"vacuum_cost_page_hit", PGC_USERSET, RESOURCES, gettext_noop("Vacuum cost for a page found in the buffer cache."), NULL @@ -1097,14 +1106,6 @@ static struct config_int ConfigureNamesInt[] = 0, 0, INT_MAX, NULL, NULL }, #endif - { - {"max_expr_depth", PGC_USERSET, CLIENT_CONN_OTHER, - gettext_noop("Sets the maximum expression nesting depth."), - NULL - }, - &max_expr_depth, - DEFAULT_MAX_EXPR_DEPTH, 10, INT_MAX, NULL, NULL - }, { {"statement_timeout", PGC_USERSET, CLIENT_CONN_STATEMENT, @@ -1246,7 +1247,7 @@ static struct config_int ConfigureNamesInt[] = }, { - {"debug_shared_buffers", PGC_POSTMASTER, RESOURCES_MEM, + {"debug_shared_buffers", PGC_POSTMASTER, STATS_MONITORING, gettext_noop("Interval to report shared buffer status in seconds"), NULL }, diff --git a/src/backend/utils/misc/postgresql.conf.sample b/src/backend/utils/misc/postgresql.conf.sample index ff12fbdf829..0001a9ffbb3 100644 --- a/src/backend/utils/misc/postgresql.conf.sample +++ b/src/backend/utils/misc/postgresql.conf.sample @@ -58,7 +58,7 @@ #shared_buffers = 1000 # min 16, at least max_connections*2, 8KB each #work_mem = 1024 # min 64, size in KB #maintenance_work_mem = 16384 # min 1024, size in KB -#debug_shared_buffers = 0 # 0-600 seconds +#max_stack_depth = 2048 # min 100, size in KB #vacuum_cost_page_hit = 1 # 0-10000 credits #vacuum_cost_page_miss = 10 # 0-10000 credits @@ -204,6 +204,8 @@ #log_executor_stats = false #log_statement_stats = false +#debug_shared_buffers = 0 # 0-600 seconds + # - Query/Index Statistics Collector - #stats_start_collector = true @@ -243,7 +245,6 @@ #explain_pretty_print = true #dynamic_library_path = '$libdir' -#max_expr_depth = 10000 # min 10 #--------------------------------------------------------------------------- |
