postgres.git / summary / log / commit / refs
commit e5975c2daad0327b9faa6b62bcfbf173680d14b9
Author: Michael Paquier <michael@paquier.xyz>
Date: Wed Sep 20 04:36:54 2023 +0000
First released in: 17.0, 16.1
doc: Fix description of BUFFER_USAGE_LIMIT for VACUUM and ANALYZE
BUFFER_USAGE_LIMIT requires a parameter, and 'B' is a supported unit.
Author: Ryoga Yoshida
Reviewed-by: Shinya Kato
Discussion: https://postgr.es/m/9374034cb91b647b55a774a8980b0228@oss.nttdata.com
Backpatch-through: 16
doc/src/sgml/ref/analyze.sgml | 8 ++++----
doc/src/sgml/ref/vacuum.sgml | 8 ++++----
2 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/doc/src/sgml/ref/analyze.sgml b/doc/src/sgml/ref/analyze.sgml
index 1fba089265a..4c79a01eb6e 100644
--- a/doc/src/sgml/ref/analyze.sgml
+++ b/doc/src/sgml/ref/analyze.sgml
@@ -27,7 +27,7 @@ ANALYZE [ ( <replaceable class="parameter">option</replaceable> [, ...] ) ] [ <r
VERBOSE [ <replaceable class="parameter">boolean</replaceable> ]
SKIP_LOCKED [ <replaceable class="parameter">boolean</replaceable> ]
- BUFFER_USAGE_LIMIT [ <replaceable class="parameter">size</replaceable> ]
+ BUFFER_USAGE_LIMIT <replaceable class="parameter">size</replaceable>
<phrase>and <replaceable class="parameter">table_and_columns</replaceable> is:</phrase>
@@ -128,9 +128,9 @@ ANALYZE [ ( <replaceable class="parameter">option</replaceable> [, ...] ) ] [ <r
<para>
Specifies an amount of memory in kilobytes. Sizes may also be specified
as a string containing the numerical size followed by any one of the
- following memory units: <literal>kB</literal> (kilobytes),
- <literal>MB</literal> (megabytes), <literal>GB</literal> (gigabytes), or
- <literal>TB</literal> (terabytes).
+ following memory units: <literal>B</literal> (bytes),
+ <literal>kB</literal> (kilobytes), <literal>MB</literal> (megabytes),
+ <literal>GB</literal> (gigabytes), or <literal>TB</literal> (terabytes).
</para>
</listitem>
</varlistentry>
diff --git a/doc/src/sgml/ref/vacuum.sgml b/doc/src/sgml/ref/vacuum.sgml
index 90cde70c070..a87c2e320e2 100644
--- a/doc/src/sgml/ref/vacuum.sgml
+++ b/doc/src/sgml/ref/vacuum.sgml
@@ -38,7 +38,7 @@ VACUUM [ ( <replaceable class="parameter">option</replaceable> [, ...] ) ] [ <re
PARALLEL <replaceable class="parameter">integer</replaceable>
SKIP_DATABASE_STATS [ <replaceable class="parameter">boolean</replaceable> ]
ONLY_DATABASE_STATS [ <replaceable class="parameter">boolean</replaceable> ]
- BUFFER_USAGE_LIMIT [ <replaceable class="parameter">size</replaceable> ]
+ BUFFER_USAGE_LIMIT <replaceable class="parameter">size</replaceable>
<phrase>and <replaceable class="parameter">table_and_columns</replaceable> is:</phrase>
@@ -389,9 +389,9 @@ VACUUM [ ( <replaceable class="parameter">option</replaceable> [, ...] ) ] [ <re
<para>
Specifies an amount of memory in kilobytes. Sizes may also be specified
as a string containing the numerical size followed by any one of the
- following memory units: <literal>kB</literal> (kilobytes),
- <literal>MB</literal> (megabytes), <literal>GB</literal> (gigabytes), or
- <literal>TB</literal> (terabytes).
+ following memory units: <literal>B</literal> (bytes),
+ <literal>kB</literal> (kilobytes), <literal>MB</literal> (megabytes),
+ <literal>GB</literal> (gigabytes), or <literal>TB</literal> (terabytes).
</para>
</listitem>
</varlistentry>
[parent: 59f47fb98dab]