Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 555b46e

Browse files
committed
More GUC units doc updates.
Euler Taveira de Oliveira
1 parent 56e0e59 commit 555b46e

File tree

2 files changed

+16
-16
lines changed

2 files changed

+16
-16
lines changed

src/backend/utils/misc/guc.c

Lines changed: 11 additions & 11 deletions
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.500 2009/04/06 21:00:52 momjian Exp $
13+
* $PostgreSQL: pgsql/src/backend/utils/misc/guc.c,v 1.501 2009/04/07 22:22:19 momjian Exp $
1414
*
1515
*--------------------------------------------------------------------
1616
*/
@@ -1316,7 +1316,7 @@ static struct config_int ConfigureNamesInt[] =
13161316
{
13171317
/* This is PGC_SIGHUP so all backends have the same value. */
13181318
{"deadlock_timeout", PGC_SIGHUP, LOCK_MANAGEMENT,
1319-
gettext_noop("Sets the time to wait on a lock before checking for deadlock."),
1319+
gettext_noop("Sets the time to wait on a lock before checking for deadlock, in milliseconds."),
13201320
NULL,
13211321
GUC_UNIT_MS
13221322
},
@@ -1406,7 +1406,7 @@ static struct config_int ConfigureNamesInt[] =
14061406

14071407
{
14081408
{"maintenance_work_mem", PGC_USERSET, RESOURCES_MEM,
1409-
gettext_noop("Sets the maximum memory to be used for maintenance operations."),
1409+
gettext_noop("Sets the maximum memory to be used for maintenance operations, in kilobytes."),
14101410
gettext_noop("This includes operations such as VACUUM and CREATE INDEX."),
14111411
GUC_UNIT_KB
14121412
},
@@ -1569,7 +1569,7 @@ static struct config_int ConfigureNamesInt[] =
15691569

15701570
{
15711571
{"authentication_timeout", PGC_SIGHUP, CONN_AUTH_SECURITY,
1572-
gettext_noop("Sets the maximum allowed time to complete client authentication."),
1572+
gettext_noop("Sets the maximum allowed time to complete client authentication, in seconds."),
15731573
NULL,
15741574
GUC_UNIT_S
15751575
},
@@ -1599,7 +1599,7 @@ static struct config_int ConfigureNamesInt[] =
15991599

16001600
{
16011601
{"checkpoint_timeout", PGC_SIGHUP, WAL_CHECKPOINTS,
1602-
gettext_noop("Sets the maximum time between automatic WAL checkpoints."),
1602+
gettext_noop("Sets the maximum time between automatic WAL checkpoints, in seconds."),
16031603
NULL,
16041604
GUC_UNIT_S
16051605
},
@@ -1632,7 +1632,7 @@ static struct config_int ConfigureNamesInt[] =
16321632

16331633
{
16341634
{"wal_writer_delay", PGC_SIGHUP, WAL_SETTINGS,
1635-
gettext_noop("WAL writer sleep time between WAL flushes."),
1635+
gettext_noop("WAL writer sleep time between WAL flushes, in milliseconds."),
16361636
NULL,
16371637
GUC_UNIT_MS
16381638
},
@@ -1673,8 +1673,8 @@ static struct config_int ConfigureNamesInt[] =
16731673

16741674
{
16751675
{"log_min_duration_statement", PGC_SUSET, LOGGING_WHEN,
1676-
gettext_noop("Sets the minimum execution time above which "
1677-
"statements will be logged."),
1676+
gettext_noop("Sets the minimum execution time (in milliseconds) above "
1677+
"which statements will be logged."),
16781678
gettext_noop("Zero prints all queries. -1 turns this feature off."),
16791679
GUC_UNIT_MS
16801680
},
@@ -1684,7 +1684,7 @@ static struct config_int ConfigureNamesInt[] =
16841684

16851685
{
16861686
{"log_autovacuum_min_duration", PGC_SIGHUP, LOGGING_WHAT,
1687-
gettext_noop("Sets the minimum execution milliseconds above which "
1687+
gettext_noop("Sets the minimum execution in milliseconds above which "
16881688
"autovacuum actions will be logged."),
16891689
gettext_noop("Zero prints all actions. -1 turns autovacuum logging off."),
16901690
GUC_UNIT_MS
@@ -1695,7 +1695,7 @@ static struct config_int ConfigureNamesInt[] =
16951695

16961696
{
16971697
{"bgwriter_delay", PGC_SIGHUP, RESOURCES,
1698-
gettext_noop("Background writer sleep time between rounds."),
1698+
gettext_noop("Background writer sleep time between rounds, in milliseconds."),
16991699
NULL,
17001700
GUC_UNIT_MS
17011701
},
@@ -1827,7 +1827,7 @@ static struct config_int ConfigureNamesInt[] =
18271827

18281828
{
18291829
{"autovacuum_naptime", PGC_SIGHUP, AUTOVACUUM,
1830-
gettext_noop("Time to sleep between autovacuum runs."),
1830+
gettext_noop("Time to sleep between autovacuum runs, in seconds."),
18311831
NULL,
18321832
GUC_UNIT_S
18331833
},

src/backend/utils/misc/postgresql.conf.sample

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@
136136

137137
# - Asynchronous Behavior -
138138

139-
#effective_io_concurrency = 1 # 1-1000, or 0 to disable prefetching
139+
#effective_io_concurrency = 1 # 1-1000. 0 disables prefetching
140140

141141

142142
#------------------------------------------------------------------------------
@@ -167,15 +167,15 @@
167167
#checkpoint_segments = 3 # in logfile segments, min 1, 16MB each
168168
#checkpoint_timeout = 5min # range 30s-1h
169169
#checkpoint_completion_target = 0.5 # checkpoint target duration, 0.0 - 1.0
170-
#checkpoint_warning = 30s # 0 is off
170+
#checkpoint_warning = 30s # 0 disables
171171

172172
# - Archiving -
173173

174174
#archive_mode = off # allows archiving to be done
175175
# (change requires restart)
176176
#archive_command = '' # command to use to archive a logfile segment
177177
#archive_timeout = 0 # force a logfile segment switch after this
178-
# number of seconds; 0 is off
178+
# number of seconds; 0 disables
179179

180180

181181
#------------------------------------------------------------------------------
@@ -253,10 +253,10 @@
253253
# off, meaning append to existing files
254254
# in all cases.
255255
#log_rotation_age = 1d # Automatic rotation of logfiles will
256-
# happen after that time. 0 to disable.
256+
# happen after that time. 0 disables.
257257
#log_rotation_size = 10MB # Automatic rotation of logfiles will
258258
# happen after that much log output.
259-
# 0 to disable.
259+
# 0 disables.
260260

261261
# These are relevant when logging to syslog:
262262
#syslog_facility = 'LOCAL0'

0 commit comments

Comments
 (0)