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

Commit 4dd09a1

Browse files
committed
config: Rename "Asynchronous Behavior" to "I/O"
"I/O" seems more descriptive than "Asynchronous Behavior", given that some of the GUCs in the section don't relate to anything asynchronous. Most other abbreviations in the config sections are un-abbreviated, but "Input/Output" seems less likely to be helpful than just IO or I/O. Reviewed-by: Tom Lane <tgl@sss.pgh.pa.us> Discussion: https://postgr.es/m/x3tlw2jk5gm3r3mv47hwrshffyw7halpczkfbk3peksxds7bvc@lguk43z3bsyq
1 parent 740766d commit 4dd09a1

File tree

4 files changed

+9
-9
lines changed

4 files changed

+9
-9
lines changed

doc/src/sgml/config.sgml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2506,8 +2506,8 @@ include_dir 'conf.d'
25062506
</para>
25072507
</sect2>
25082508

2509-
<sect2 id="runtime-config-resource-async-behavior">
2510-
<title>Asynchronous Behavior</title>
2509+
<sect2 id="runtime-config-resource-io">
2510+
<title>I/O</title>
25112511

25122512
<variablelist>
25132513
<varlistentry id="guc-backend-flush-after" xreflabel="backend_flush_after">

src/backend/utils/misc/guc_tables.c

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -682,7 +682,7 @@ const char *const config_group_names[] =
682682
[RESOURCES_DISK] = gettext_noop("Resource Usage / Disk"),
683683
[RESOURCES_KERNEL] = gettext_noop("Resource Usage / Kernel Resources"),
684684
[RESOURCES_BGWRITER] = gettext_noop("Resource Usage / Background Writer"),
685-
[RESOURCES_ASYNCHRONOUS] = gettext_noop("Resource Usage / Asynchronous Behavior"),
685+
[RESOURCES_IO] = gettext_noop("Resource Usage / I/O"),
686686
[RESOURCES_WORKER_PROCESSES] = gettext_noop("Resource Usage / Worker Processes"),
687687
[WAL_SETTINGS] = gettext_noop("Write-Ahead Log / Settings"),
688688
[WAL_CHECKPOINTS] = gettext_noop("Write-Ahead Log / Checkpoints"),
@@ -3181,7 +3181,7 @@ struct config_int ConfigureNamesInt[] =
31813181
{
31823182
{"effective_io_concurrency",
31833183
PGC_USERSET,
3184-
RESOURCES_ASYNCHRONOUS,
3184+
RESOURCES_IO,
31853185
gettext_noop("Number of simultaneous requests that can be handled efficiently by the disk subsystem."),
31863186
NULL,
31873187
GUC_EXPLAIN
@@ -3195,7 +3195,7 @@ struct config_int ConfigureNamesInt[] =
31953195
{
31963196
{"maintenance_io_concurrency",
31973197
PGC_USERSET,
3198-
RESOURCES_ASYNCHRONOUS,
3198+
RESOURCES_IO,
31993199
gettext_noop("A variant of \"effective_io_concurrency\" that is used for maintenance work."),
32003200
NULL,
32013201
GUC_EXPLAIN
@@ -3210,7 +3210,7 @@ struct config_int ConfigureNamesInt[] =
32103210
{
32113211
{"io_combine_limit",
32123212
PGC_USERSET,
3213-
RESOURCES_ASYNCHRONOUS,
3213+
RESOURCES_IO,
32143214
gettext_noop("Limit on the size of data reads and writes."),
32153215
NULL,
32163216
GUC_UNIT_BLOCKS
@@ -3222,7 +3222,7 @@ struct config_int ConfigureNamesInt[] =
32223222
},
32233223

32243224
{
3225-
{"backend_flush_after", PGC_USERSET, RESOURCES_ASYNCHRONOUS,
3225+
{"backend_flush_after", PGC_USERSET, RESOURCES_IO,
32263226
gettext_noop("Number of pages after which previously performed writes are flushed to disk."),
32273227
NULL,
32283228
GUC_UNIT_BLOCKS

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@
192192
#bgwriter_lru_multiplier = 2.0 # 0-10.0 multiplier on buffers scanned/round
193193
#bgwriter_flush_after = 0 # measured in pages, 0 disables
194194

195-
# - Asynchronous Behavior -
195+
# - I/O -
196196

197197
#backend_flush_after = 0 # measured in pages, 0 disables
198198
#effective_io_concurrency = 1 # 1-1000; 0 disables prefetching

src/include/utils/guc_tables.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ enum config_group
6464
RESOURCES_DISK,
6565
RESOURCES_KERNEL,
6666
RESOURCES_BGWRITER,
67-
RESOURCES_ASYNCHRONOUS,
67+
RESOURCES_IO,
6868
RESOURCES_WORKER_PROCESSES,
6969
WAL_SETTINGS,
7070
WAL_CHECKPOINTS,

0 commit comments

Comments
 (0)