summaryrefslogtreecommitdiff
path: root/doc/src
diff options
context:
space:
mode:
Diffstat (limited to 'doc/src')
-rw-r--r--doc/src/sgml/config.sgml8
-rw-r--r--doc/src/sgml/ref/initdb.sgml22
-rw-r--r--doc/src/sgml/regress.sgml2
-rw-r--r--doc/src/sgml/release-14.sgml7
4 files changed, 19 insertions, 20 deletions
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'
</listitem>
</varlistentry>
- <varlistentry id="guc-debug-invalidate-system-caches-always" xreflabel="debug_invalidate_system_caches_always">
- <term><varname>debug_invalidate_system_caches_always</varname> (<type>integer</type>)
+ <varlistentry id="guc-debug-discard-caches" xreflabel="debug_discard_caches">
+ <term><varname>debug_discard_caches</varname> (<type>integer</type>)
<indexterm>
- <primary><varname>debug_invalidate_system_caches_always</varname> configuration parameter</primary>
+ <primary><varname>debug_discard_caches</varname> configuration parameter</primary>
</indexterm>
</term>
<listitem>
@@ -10365,7 +10365,7 @@ dynamic_library_path = 'C:\tools\postgresql;H:\my_project\lib;$libdir'
<para>
This parameter is supported when
- <symbol>CLOBBER_CACHE_ENABLED</symbol> was defined at compile time
+ <symbol>DISCARD_CACHES_ENABLED</symbol> was defined at compile time
(which happens automatically when using the
<application>configure</application> option
<option>--enable-cassert</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
@@ -389,17 +389,6 @@ PostgreSQL documentation
<variablelist>
<varlistentry>
- <term><option>--clobber-cache</option></term>
- <listitem>
- <para>
- Run the bootstrap backend with the
- <literal>debug_invalidate_system_caches_always=1</literal> option.
- This takes a very long time and is only of use for deep debugging.
- </para>
- </listitem>
- </varlistentry>
-
- <varlistentry>
<term><option>-d</option></term>
<term><option>--debug</option></term>
<listitem>
@@ -414,6 +403,17 @@ PostgreSQL documentation
</varlistentry>
<varlistentry>
+ <term><option>--discard-caches</option></term>
+ <listitem>
+ <para>
+ Run the bootstrap backend with the
+ <literal>debug_discard_caches=1</literal> option.
+ This takes a very long time and is only of use for deep debugging.
+ </para>
+ </listitem>
+ </varlistentry>
+
+ <varlistentry>
<term><option>-L <replaceable class="parameter">directory</replaceable></option></term>
<listitem>
<para>
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"
<para>
This can be useful to enable additional logging, adjust resource limits,
or enable extra run-time checks such as <xref
- linkend="guc-debug-invalidate-system-caches-always"/>.
+ linkend="guc-debug-discard-caches"/>.
</para>
</sect2>
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 <peter@eisentraut.org>
-->
<para>
- Add <xref linkend="guc-debug-invalidate-system-caches-always"/>
- to control cache overwriting (Craig Ringer)
+ Add <xref linkend="guc-debug-discard-caches"/>
+ to control cache flushing for test purposes (Craig Ringer)
</para>
<para>
- 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.
</para>
</listitem>