From 6201fa3c166fe2383dd44a9dd5082bc748c2937a Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Tue, 13 Jul 2021 15:01:01 -0400 Subject: Rename debug_invalidate_system_caches_always to debug_discard_caches. The name introduced by commit 4656e3d66 was agreed to be unreasonably long. To match this change, rename initdb's recently-added --clobber-cache option to --discard-caches. Discussion: https://postgr.es/m/1374320.1625430433@sss.pgh.pa.us --- doc/src/sgml/config.sgml | 8 ++++---- doc/src/sgml/ref/initdb.sgml | 22 +++++++++++----------- doc/src/sgml/regress.sgml | 2 +- doc/src/sgml/release-14.sgml | 7 +++---- 4 files changed, 19 insertions(+), 20 deletions(-) (limited to 'doc/src') diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml index 1bbc631afe5..bfef56623b1 100644 --- a/doc/src/sgml/config.sgml +++ b/doc/src/sgml/config.sgml @@ -10337,10 +10337,10 @@ dynamic_library_path = 'C:\tools\postgresql;H:\my_project\lib;$libdir' - - debug_invalidate_system_caches_always (integer) + + debug_discard_caches (integer) - debug_invalidate_system_caches_always configuration parameter + debug_discard_caches configuration parameter @@ -10365,7 +10365,7 @@ dynamic_library_path = 'C:\tools\postgresql;H:\my_project\lib;$libdir' This parameter is supported when - CLOBBER_CACHE_ENABLED was defined at compile time + DISCARD_CACHES_ENABLED was defined at compile time (which happens automatically when using the configure option ). In production builds, its value diff --git a/doc/src/sgml/ref/initdb.sgml b/doc/src/sgml/ref/initdb.sgml index 3077530c7b4..e62742850a3 100644 --- a/doc/src/sgml/ref/initdb.sgml +++ b/doc/src/sgml/ref/initdb.sgml @@ -388,17 +388,6 @@ PostgreSQL documentation Other, less commonly used, options are also available: - - - - - Run the bootstrap backend with the - debug_invalidate_system_caches_always=1 option. - This takes a very long time and is only of use for deep debugging. - - - - @@ -413,6 +402,17 @@ PostgreSQL documentation + + + + + Run the bootstrap backend with the + debug_discard_caches=1 option. + This takes a very long time and is only of use for deep debugging. + + + + diff --git a/doc/src/sgml/regress.sgml b/doc/src/sgml/regress.sgml index c35e036028b..acc7a50c2f2 100644 --- a/doc/src/sgml/regress.sgml +++ b/doc/src/sgml/regress.sgml @@ -373,7 +373,7 @@ make check EXTRA_REGRESS_OPTS="--temp-config=test_postgresql.conf" This can be useful to enable additional logging, adjust resource limits, or enable extra run-time checks such as . + linkend="guc-debug-discard-caches"/>. diff --git a/doc/src/sgml/release-14.sgml b/doc/src/sgml/release-14.sgml index ddded1985c0..e18d2318ecd 100644 --- a/doc/src/sgml/release-14.sgml +++ b/doc/src/sgml/release-14.sgml @@ -3606,13 +3606,12 @@ Author: Peter Eisentraut --> - Add - to control cache overwriting (Craig Ringer) + Add + to control cache flushing for test purposes (Craig Ringer) - Previously this could only be controlled at compile time and is - enabled only in assert builds. + Previously this behavior could only be set at compile time. -- cgit v1.2.3