From 319bae9a8da66678d80d862440e54cebc7b1cc24 Mon Sep 17 00:00:00 2001 From: Thomas Munro Date: Mon, 15 May 2023 10:31:14 +1200 Subject: Rename io_direct to debug_io_direct. Give the new GUC introduced by d4e71df6 a name that is clearly not intended for mainstream use quite yet. Future proposals would drop the prefix only after adding infrastructure to make it efficient. Having the switch in the tree sooner is good because it might lead to new discoveries about the hazards awaiting us on a wide range of systems, but that name was too enticing and could lead to cross-version confusion in future, per complaints from Noah and Justin. Suggested-by: Noah Misch Reviewed-by: Noah Misch Reviewed-by: Justin Pryzby (the idea, not the patch) Reviewed-by: Tom Lane (ditto) Discussion: https://postgr.es/m/20230430041106.GA2268796%40rfd.leadboat.com --- doc/src/sgml/config.sgml | 64 ++++++++++++++++++++++++------------------------ 1 file changed, 32 insertions(+), 32 deletions(-) (limited to 'doc') diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml index 909a3f28c7..2073bafa1f 100644 --- a/doc/src/sgml/config.sgml +++ b/doc/src/sgml/config.sgml @@ -11160,6 +11160,38 @@ dynamic_library_path = 'C:\tools\postgresql;H:\my_project\lib;$libdir' + + debug_io_direct (string) + + debug_io_direct configuration parameter + + + + + Ask the kernel to minimize caching effects for relation data and WAL + files using O_DIRECT (most Unix-like systems), + F_NOCACHE (macOS) or + FILE_FLAG_NO_BUFFERING (Windows). + + + May be set to an empty string (the default) to disable use of direct + I/O, or a comma-separated list of operations that should use direct I/O. + The valid options are data for + main data files, wal for WAL files, and + wal_init for WAL files when being initially + allocated. + + + Some operating systems and file systems do not support direct I/O, so + non-default settings may be rejected at startup or cause errors. + + + Currently this feature reduces performance, and is intended for + developer testing only. + + + + debug_parallel_query (enum) @@ -11221,38 +11253,6 @@ dynamic_library_path = 'C:\tools\postgresql;H:\my_project\lib;$libdir' - - io_direct (string) - - io_direct configuration parameter - - - - - Ask the kernel to minimize caching effects for relation data and WAL - files using O_DIRECT (most Unix-like systems), - F_NOCACHE (macOS) or - FILE_FLAG_NO_BUFFERING (Windows). - - - May be set to an empty string (the default) to disable use of direct - I/O, or a comma-separated list of operations that should use direct I/O. - The valid options are data for - main data files, wal for WAL files, and - wal_init for WAL files when being initially - allocated. - - - Some operating systems and file systems do not support direct I/O, so - non-default settings may be rejected at startup or cause errors. - - - Currently this feature reduces performance, and is intended for - developer testing only. - - - - post_auth_delay (integer) -- cgit v1.2.1