Content-Length: 282668 | pFad | http://github.com/postgrespro/postgres/commit/e74727440c4d3df443dbd3d0a2201751883316ce

FB Add pg_settings units display for "commit_delay" (ms). · postgrespro/postgres@e747274 · GitHub
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

Lines changed: 2 additions & 1 deletion
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

Lines changed: 1 addition & 1 deletion
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)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres/commit/e74727440c4d3df443dbd3d0a2201751883316ce

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy