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

Commit e747274

Browse files
committed
Add pg_settings units display for "commit_delay" (ms).
Also remove unnecessary units designation in postgresql.conf.sample.
1 parent 1d96cf9 commit e747274

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

src/backend/utils/misc/guc.c

+2-1
Original file line numberDiff line numberDiff line change
@@ -2033,7 +2033,8 @@ static struct config_int ConfigureNamesInt[] =
20332033
{"commit_delay", PGC_USERSET, WAL_SETTINGS,
20342034
gettext_noop("Sets the delay in microseconds between transaction commit and "
20352035
"flushing WAL to disk."),
2036-
NULL
2036+
NULL,
2037+
GUC_UNIT_MS
20372038
},
20382039
&CommitDelay,
20392040
0, 0, 100000,

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@
137137

138138
# - Cost-Based Vacuum Delay -
139139

140-
#vacuum_cost_delay = 0ms # 0-100 milliseconds
140+
#vacuum_cost_delay = 0 # 0-100 milliseconds
141141
#vacuum_cost_page_hit = 1 # 0-10000 credits
142142
#vacuum_cost_page_miss = 10 # 0-10000 credits
143143
#vacuum_cost_page_dirty = 20 # 0-10000 credits

0 commit comments

Comments
 (0)