Commit 44ab6cd8 authored by Bruce Momjian's avatar Bruce Momjian

Revert addition of units to GUC descriptions; doesn't affect

postgresql.conf.
parent 77b044f2
...@@ -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.501 2009/04/07 22:22:19 momjian Exp $ * $PostgreSQL: pgsql/src/backend/utils/misc/guc.c,v 1.502 2009/04/07 23:27:34 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, in milliseconds."), gettext_noop("Sets the time to wait on a lock before checking for deadlock."),
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, in kilobytes."), gettext_noop("Sets the maximum memory to be used for maintenance operations."),
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
}, },
...@@ -1530,7 +1530,7 @@ static struct config_int ConfigureNamesInt[] = ...@@ -1530,7 +1530,7 @@ static struct config_int ConfigureNamesInt[] =
{ {
{"statement_timeout", PGC_USERSET, CLIENT_CONN_STATEMENT, {"statement_timeout", PGC_USERSET, CLIENT_CONN_STATEMENT,
gettext_noop("Sets the maximum duration of any statement, in milliseconds."), gettext_noop("Sets the maximum allowed duration of any statement."),
gettext_noop("A value of 0 turns off the timeout."), gettext_noop("A value of 0 turns off the timeout."),
GUC_UNIT_MS GUC_UNIT_MS
}, },
...@@ -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, in seconds."), gettext_noop("Sets the maximum allowed time to complete client authentication."),
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, in seconds."), gettext_noop("Sets the maximum time between automatic WAL checkpoints."),
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, in milliseconds."), gettext_noop("WAL writer sleep time between WAL flushes."),
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 (in milliseconds) above " gettext_noop("Sets the minimum execution time above which "
"which statements will be logged."), "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 in milliseconds above which " gettext_noop("Sets the minimum execution time 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, in milliseconds."), gettext_noop("Background writer sleep time between rounds."),
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, in seconds."), gettext_noop("Time to sleep between autovacuum runs."),
NULL, NULL,
GUC_UNIT_S GUC_UNIT_S
}, },
...@@ -1871,7 +1871,7 @@ static struct config_int ConfigureNamesInt[] = ...@@ -1871,7 +1871,7 @@ static struct config_int ConfigureNamesInt[] =
{ {
{"tcp_keepalives_idle", PGC_USERSET, CLIENT_CONN_OTHER, {"tcp_keepalives_idle", PGC_USERSET, CLIENT_CONN_OTHER,
gettext_noop("Seconds between issuing TCP keepalives."), gettext_noop("Time between issuing TCP keepalives."),
gettext_noop("A value of 0 uses the system default."), gettext_noop("A value of 0 uses the system default."),
GUC_UNIT_S GUC_UNIT_S
}, },
...@@ -1881,7 +1881,7 @@ static struct config_int ConfigureNamesInt[] = ...@@ -1881,7 +1881,7 @@ static struct config_int ConfigureNamesInt[] =
{ {
{"tcp_keepalives_interval", PGC_USERSET, CLIENT_CONN_OTHER, {"tcp_keepalives_interval", PGC_USERSET, CLIENT_CONN_OTHER,
gettext_noop("Seconds between TCP keepalive retransmits."), gettext_noop("Time between TCP keepalive retransmits."),
gettext_noop("A value of 0 uses the system default."), gettext_noop("A value of 0 uses the system default."),
GUC_UNIT_S GUC_UNIT_S
}, },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment