提交 555b46e2 编写于 作者: B Bruce Momjian

More GUC units doc updates.

Euler Taveira de Oliveira
上级 56e0e599
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
* Written by Peter Eisentraut <peter_e@gmx.net>. * Written by Peter Eisentraut <peter_e@gmx.net>.
* *
* IDENTIFICATION * IDENTIFICATION
* $PostgreSQL: pgsql/src/backend/utils/misc/guc.c,v 1.500 2009/04/06 21:00:52 momjian Exp $ * $PostgreSQL: pgsql/src/backend/utils/misc/guc.c,v 1.501 2009/04/07 22:22:19 momjian Exp $
* *
*-------------------------------------------------------------------- *--------------------------------------------------------------------
*/ */
...@@ -1316,7 +1316,7 @@ static struct config_int ConfigureNamesInt[] = ...@@ -1316,7 +1316,7 @@ static struct config_int ConfigureNamesInt[] =
{ {
/* This is PGC_SIGHUP so all backends have the same value. */ /* This is PGC_SIGHUP so all backends have the same value. */
{"deadlock_timeout", PGC_SIGHUP, LOCK_MANAGEMENT, {"deadlock_timeout", PGC_SIGHUP, LOCK_MANAGEMENT,
gettext_noop("Sets the time to wait on a lock before checking for deadlock."), gettext_noop("Sets the time to wait on a lock before checking for deadlock, in milliseconds."),
NULL, NULL,
GUC_UNIT_MS GUC_UNIT_MS
}, },
...@@ -1406,7 +1406,7 @@ static struct config_int ConfigureNamesInt[] = ...@@ -1406,7 +1406,7 @@ static struct config_int ConfigureNamesInt[] =
{ {
{"maintenance_work_mem", PGC_USERSET, RESOURCES_MEM, {"maintenance_work_mem", PGC_USERSET, RESOURCES_MEM,
gettext_noop("Sets the maximum memory to be used for maintenance operations."), gettext_noop("Sets the maximum memory to be used for maintenance operations, in kilobytes."),
gettext_noop("This includes operations such as VACUUM and CREATE INDEX."), gettext_noop("This includes operations such as VACUUM and CREATE INDEX."),
GUC_UNIT_KB GUC_UNIT_KB
}, },
...@@ -1569,7 +1569,7 @@ static struct config_int ConfigureNamesInt[] = ...@@ -1569,7 +1569,7 @@ static struct config_int ConfigureNamesInt[] =
{ {
{"authentication_timeout", PGC_SIGHUP, CONN_AUTH_SECURITY, {"authentication_timeout", PGC_SIGHUP, CONN_AUTH_SECURITY,
gettext_noop("Sets the maximum allowed time to complete client authentication."), gettext_noop("Sets the maximum allowed time to complete client authentication, in seconds."),
NULL, NULL,
GUC_UNIT_S GUC_UNIT_S
}, },
...@@ -1599,7 +1599,7 @@ static struct config_int ConfigureNamesInt[] = ...@@ -1599,7 +1599,7 @@ static struct config_int ConfigureNamesInt[] =
{ {
{"checkpoint_timeout", PGC_SIGHUP, WAL_CHECKPOINTS, {"checkpoint_timeout", PGC_SIGHUP, WAL_CHECKPOINTS,
gettext_noop("Sets the maximum time between automatic WAL checkpoints."), gettext_noop("Sets the maximum time between automatic WAL checkpoints, in seconds."),
NULL, NULL,
GUC_UNIT_S GUC_UNIT_S
}, },
...@@ -1632,7 +1632,7 @@ static struct config_int ConfigureNamesInt[] = ...@@ -1632,7 +1632,7 @@ static struct config_int ConfigureNamesInt[] =
{ {
{"wal_writer_delay", PGC_SIGHUP, WAL_SETTINGS, {"wal_writer_delay", PGC_SIGHUP, WAL_SETTINGS,
gettext_noop("WAL writer sleep time between WAL flushes."), gettext_noop("WAL writer sleep time between WAL flushes, in milliseconds."),
NULL, NULL,
GUC_UNIT_MS GUC_UNIT_MS
}, },
...@@ -1673,8 +1673,8 @@ static struct config_int ConfigureNamesInt[] = ...@@ -1673,8 +1673,8 @@ static struct config_int ConfigureNamesInt[] =
{ {
{"log_min_duration_statement", PGC_SUSET, LOGGING_WHEN, {"log_min_duration_statement", PGC_SUSET, LOGGING_WHEN,
gettext_noop("Sets the minimum execution time above which " gettext_noop("Sets the minimum execution time (in milliseconds) above "
"statements will be logged."), "which statements will be logged."),
gettext_noop("Zero prints all queries. -1 turns this feature off."), gettext_noop("Zero prints all queries. -1 turns this feature off."),
GUC_UNIT_MS GUC_UNIT_MS
}, },
...@@ -1684,7 +1684,7 @@ static struct config_int ConfigureNamesInt[] = ...@@ -1684,7 +1684,7 @@ static struct config_int ConfigureNamesInt[] =
{ {
{"log_autovacuum_min_duration", PGC_SIGHUP, LOGGING_WHAT, {"log_autovacuum_min_duration", PGC_SIGHUP, LOGGING_WHAT,
gettext_noop("Sets the minimum execution milliseconds above which " gettext_noop("Sets the minimum execution in milliseconds above which "
"autovacuum actions will be logged."), "autovacuum actions will be logged."),
gettext_noop("Zero prints all actions. -1 turns autovacuum logging off."), gettext_noop("Zero prints all actions. -1 turns autovacuum logging off."),
GUC_UNIT_MS GUC_UNIT_MS
...@@ -1695,7 +1695,7 @@ static struct config_int ConfigureNamesInt[] = ...@@ -1695,7 +1695,7 @@ static struct config_int ConfigureNamesInt[] =
{ {
{"bgwriter_delay", PGC_SIGHUP, RESOURCES, {"bgwriter_delay", PGC_SIGHUP, RESOURCES,
gettext_noop("Background writer sleep time between rounds."), gettext_noop("Background writer sleep time between rounds, in milliseconds."),
NULL, NULL,
GUC_UNIT_MS GUC_UNIT_MS
}, },
...@@ -1827,7 +1827,7 @@ static struct config_int ConfigureNamesInt[] = ...@@ -1827,7 +1827,7 @@ static struct config_int ConfigureNamesInt[] =
{ {
{"autovacuum_naptime", PGC_SIGHUP, AUTOVACUUM, {"autovacuum_naptime", PGC_SIGHUP, AUTOVACUUM,
gettext_noop("Time to sleep between autovacuum runs."), gettext_noop("Time to sleep between autovacuum runs, in seconds."),
NULL, NULL,
GUC_UNIT_S GUC_UNIT_S
}, },
......
...@@ -136,7 +136,7 @@ ...@@ -136,7 +136,7 @@
# - Asynchronous Behavior - # - Asynchronous Behavior -
#effective_io_concurrency = 1 # 1-1000, or 0 to disable prefetching #effective_io_concurrency = 1 # 1-1000. 0 disables prefetching
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------
...@@ -167,7 +167,7 @@ ...@@ -167,7 +167,7 @@
#checkpoint_segments = 3 # in logfile segments, min 1, 16MB each #checkpoint_segments = 3 # in logfile segments, min 1, 16MB each
#checkpoint_timeout = 5min # range 30s-1h #checkpoint_timeout = 5min # range 30s-1h
#checkpoint_completion_target = 0.5 # checkpoint target duration, 0.0 - 1.0 #checkpoint_completion_target = 0.5 # checkpoint target duration, 0.0 - 1.0
#checkpoint_warning = 30s # 0 is off #checkpoint_warning = 30s # 0 disables
# - Archiving - # - Archiving -
...@@ -175,7 +175,7 @@ ...@@ -175,7 +175,7 @@
# (change requires restart) # (change requires restart)
#archive_command = '' # command to use to archive a logfile segment #archive_command = '' # command to use to archive a logfile segment
#archive_timeout = 0 # force a logfile segment switch after this #archive_timeout = 0 # force a logfile segment switch after this
# number of seconds; 0 is off # number of seconds; 0 disables
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------
...@@ -253,10 +253,10 @@ ...@@ -253,10 +253,10 @@
# off, meaning append to existing files # off, meaning append to existing files
# in all cases. # in all cases.
#log_rotation_age = 1d # Automatic rotation of logfiles will #log_rotation_age = 1d # Automatic rotation of logfiles will
# happen after that time. 0 to disable. # happen after that time. 0 disables.
#log_rotation_size = 10MB # Automatic rotation of logfiles will #log_rotation_size = 10MB # Automatic rotation of logfiles will
# happen after that much log output. # happen after that much log output.
# 0 to disable. # 0 disables.
# These are relevant when logging to syslog: # These are relevant when logging to syslog:
#syslog_facility = 'LOCAL0' #syslog_facility = 'LOCAL0'
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册