diff options
author | Michael Paquier <michael@paquier.xyz> | 2023-09-20 13:37:02 +0900 |
---|---|---|
committer | Michael Paquier <michael@paquier.xyz> | 2023-09-20 13:37:02 +0900 |
commit | 3701db77a08ecbd28c6f600de81f53d3712568fe (patch) | |
tree | c3ffb291dead48682fe53324a14242934b728f2b | |
parent | 64276c7e45e602e82da24798e5d1b272c639e8bd (diff) | |
download | postgresql-3701db77a08ecbd28c6f600de81f53d3712568fe.tar.gz postgresql-3701db77a08ecbd28c6f600de81f53d3712568fe.zip |
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
-rw-r--r-- | doc/src/sgml/ref/analyze.sgml | 8 | ||||
-rw-r--r-- | 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 aa3e9e1c5fe..73fa3b3dff3 100644 --- a/doc/src/sgml/ref/analyze.sgml +++ b/doc/src/sgml/ref/analyze.sgml @@ -28,7 +28,7 @@ ANALYZE [ VERBOSE ] [ <replaceable class="parameter">table_and_columns</replacea 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> @@ -136,9 +136,9 @@ ANALYZE [ VERBOSE ] [ <replaceable class="parameter">table_and_columns</replacea <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 65c03bf8299..2b85c3d385d 100644 --- a/doc/src/sgml/ref/vacuum.sgml +++ b/doc/src/sgml/ref/vacuum.sgml @@ -39,7 +39,7 @@ VACUUM [ FULL ] [ FREEZE ] [ VERBOSE ] [ ANALYZE ] [ <replaceable class="paramet 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> @@ -399,9 +399,9 @@ VACUUM [ FULL ] [ FREEZE ] [ VERBOSE ] [ ANALYZE ] [ <replaceable class="paramet <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> |