diff options
author | Andres Freund <andres@anarazel.de> | 2025-02-11 11:39:20 -0500 |
---|---|---|
committer | Andres Freund <andres@anarazel.de> | 2025-02-11 12:53:40 -0500 |
commit | 4dd09a1d415d143386d5e6dc9519615a8b18f850 (patch) | |
tree | 3f5c1dd40aa9fa9edb7c01190097361c8fe05a89 /src | |
parent | 740766d37cdf466438c0ccb6c4c8acaa62a7fc90 (diff) | |
download | postgresql-4dd09a1d415d143386d5e6dc9519615a8b18f850.tar.gz postgresql-4dd09a1d415d143386d5e6dc9519615a8b18f850.zip |
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
Diffstat (limited to 'src')
-rw-r--r-- | src/backend/utils/misc/guc_tables.c | 10 | ||||
-rw-r--r-- | src/backend/utils/misc/postgresql.conf.sample | 2 | ||||
-rw-r--r-- | src/include/utils/guc_tables.h | 2 |
3 files changed, 7 insertions, 7 deletions
diff --git a/src/backend/utils/misc/guc_tables.c b/src/backend/utils/misc/guc_tables.c index 779b6098ada..b59a3de49c5 100644 --- a/src/backend/utils/misc/guc_tables.c +++ b/src/backend/utils/misc/guc_tables.c @@ -682,7 +682,7 @@ const char *const config_group_names[] = [RESOURCES_DISK] = gettext_noop("Resource Usage / Disk"), [RESOURCES_KERNEL] = gettext_noop("Resource Usage / Kernel Resources"), [RESOURCES_BGWRITER] = gettext_noop("Resource Usage / Background Writer"), - [RESOURCES_ASYNCHRONOUS] = gettext_noop("Resource Usage / Asynchronous Behavior"), + [RESOURCES_IO] = gettext_noop("Resource Usage / I/O"), [RESOURCES_WORKER_PROCESSES] = gettext_noop("Resource Usage / Worker Processes"), [WAL_SETTINGS] = gettext_noop("Write-Ahead Log / Settings"), [WAL_CHECKPOINTS] = gettext_noop("Write-Ahead Log / Checkpoints"), @@ -3181,7 +3181,7 @@ struct config_int ConfigureNamesInt[] = { {"effective_io_concurrency", PGC_USERSET, - RESOURCES_ASYNCHRONOUS, + RESOURCES_IO, gettext_noop("Number of simultaneous requests that can be handled efficiently by the disk subsystem."), NULL, GUC_EXPLAIN @@ -3195,7 +3195,7 @@ struct config_int ConfigureNamesInt[] = { {"maintenance_io_concurrency", PGC_USERSET, - RESOURCES_ASYNCHRONOUS, + RESOURCES_IO, gettext_noop("A variant of \"effective_io_concurrency\" that is used for maintenance work."), NULL, GUC_EXPLAIN @@ -3210,7 +3210,7 @@ struct config_int ConfigureNamesInt[] = { {"io_combine_limit", PGC_USERSET, - RESOURCES_ASYNCHRONOUS, + RESOURCES_IO, gettext_noop("Limit on the size of data reads and writes."), NULL, GUC_UNIT_BLOCKS @@ -3222,7 +3222,7 @@ struct config_int ConfigureNamesInt[] = }, { - {"backend_flush_after", PGC_USERSET, RESOURCES_ASYNCHRONOUS, + {"backend_flush_after", PGC_USERSET, RESOURCES_IO, gettext_noop("Number of pages after which previously performed writes are flushed to disk."), NULL, GUC_UNIT_BLOCKS diff --git a/src/backend/utils/misc/postgresql.conf.sample b/src/backend/utils/misc/postgresql.conf.sample index 7a77238646e..43492472455 100644 --- a/src/backend/utils/misc/postgresql.conf.sample +++ b/src/backend/utils/misc/postgresql.conf.sample @@ -192,7 +192,7 @@ #bgwriter_lru_multiplier = 2.0 # 0-10.0 multiplier on buffers scanned/round #bgwriter_flush_after = 0 # measured in pages, 0 disables -# - Asynchronous Behavior - +# - I/O - #backend_flush_after = 0 # measured in pages, 0 disables #effective_io_concurrency = 1 # 1-1000; 0 disables prefetching diff --git a/src/include/utils/guc_tables.h b/src/include/utils/guc_tables.h index 0b16b4dcf57..1c1c5b6ea52 100644 --- a/src/include/utils/guc_tables.h +++ b/src/include/utils/guc_tables.h @@ -64,7 +64,7 @@ enum config_group RESOURCES_DISK, RESOURCES_KERNEL, RESOURCES_BGWRITER, - RESOURCES_ASYNCHRONOUS, + RESOURCES_IO, RESOURCES_WORKER_PROCESSES, WAL_SETTINGS, WAL_CHECKPOINTS, |