mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-10-01 13:51:21 +02:00
Add pg_settings units display for "commit_delay" (ms).
Also remove unnecessary units designation in postgresql.conf.sample.
This commit is contained in:
parent
1d96cf9404
commit
e74727440c
@ -2033,7 +2033,8 @@ static struct config_int ConfigureNamesInt[] =
|
|||||||
{"commit_delay", PGC_USERSET, WAL_SETTINGS,
|
{"commit_delay", PGC_USERSET, WAL_SETTINGS,
|
||||||
gettext_noop("Sets the delay in microseconds between transaction commit and "
|
gettext_noop("Sets the delay in microseconds between transaction commit and "
|
||||||
"flushing WAL to disk."),
|
"flushing WAL to disk."),
|
||||||
NULL
|
NULL,
|
||||||
|
GUC_UNIT_MS
|
||||||
},
|
},
|
||||||
&CommitDelay,
|
&CommitDelay,
|
||||||
0, 0, 100000,
|
0, 0, 100000,
|
||||||
|
@ -137,7 +137,7 @@
|
|||||||
|
|
||||||
# - Cost-Based Vacuum Delay -
|
# - 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_hit = 1 # 0-10000 credits
|
||||||
#vacuum_cost_page_miss = 10 # 0-10000 credits
|
#vacuum_cost_page_miss = 10 # 0-10000 credits
|
||||||
#vacuum_cost_page_dirty = 20 # 0-10000 credits
|
#vacuum_cost_page_dirty = 20 # 0-10000 credits
|
||||||
|
Loading…
Reference in New Issue
Block a user