Add pg_settings units display for "commit_delay" (ms).

Also remove unnecessary units designation in postgresql.conf.sample.
This commit is contained in:
Bruce Momjian 2012-08-14 16:16:45 -04:00
parent 1d96cf9404
commit e74727440c
2 changed files with 3 additions and 2 deletions

View File

@ -2033,7 +2033,8 @@ static struct config_int ConfigureNamesInt[] =
{"commit_delay", PGC_USERSET, WAL_SETTINGS,
gettext_noop("Sets the delay in microseconds between transaction commit and "
"flushing WAL to disk."),
NULL
NULL,
GUC_UNIT_MS
},
&CommitDelay,
0, 0, 100000,

View File

@ -137,7 +137,7 @@
# - Cost-Based Vacuum Delay -
#vacuum_cost_delay = 0ms # 0-100 milliseconds
#vacuum_cost_delay = 0 # 0-100 milliseconds
#vacuum_cost_page_hit = 1 # 0-10000 credits
#vacuum_cost_page_miss = 10 # 0-10000 credits
#vacuum_cost_page_dirty = 20 # 0-10000 credits