Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commite747274

Browse files
committed
Add pg_settings units display for "commit_delay" (ms).
Also remove unnecessary units designation in postgresql.conf.sample.
1 parent1d96cf9 commite747274

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)

[8]ページ先頭

©2009-2025 Movatter.jp