Skip to content

Commit e5975c2

Browse files
committed
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
1 parent 59f47fb commit e5975c2

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

doc/src/sgml/ref/analyze.sgml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ ANALYZE [ ( <replaceable class="parameter">option</replaceable> [, ...] ) ] [ <r
2727

2828
VERBOSE [ <replaceable class="parameter">boolean</replaceable> ]
2929
SKIP_LOCKED [ <replaceable class="parameter">boolean</replaceable> ]
30-
BUFFER_USAGE_LIMIT [ <replaceable class="parameter">size</replaceable> ]
30+
BUFFER_USAGE_LIMIT <replaceable class="parameter">size</replaceable>
3131

3232
<phrase>and <replaceable class="parameter">table_and_columns</replaceable> is:</phrase>
3333

@@ -128,9 +128,9 @@ ANALYZE [ ( <replaceable class="parameter">option</replaceable> [, ...] ) ] [ <r
128128
<para>
129129
Specifies an amount of memory in kilobytes. Sizes may also be specified
130130
as a string containing the numerical size followed by any one of the
131-
following memory units: <literal>kB</literal> (kilobytes),
132-
<literal>MB</literal> (megabytes), <literal>GB</literal> (gigabytes), or
133-
<literal>TB</literal> (terabytes).
131+
following memory units: <literal>B</literal> (bytes),
132+
<literal>kB</literal> (kilobytes), <literal>MB</literal> (megabytes),
133+
<literal>GB</literal> (gigabytes), or <literal>TB</literal> (terabytes).
134134
</para>
135135
</listitem>
136136
</varlistentry>

doc/src/sgml/ref/vacuum.sgml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ VACUUM [ ( <replaceable class="parameter">option</replaceable> [, ...] ) ] [ <re
3838
PARALLEL <replaceable class="parameter">integer</replaceable>
3939
SKIP_DATABASE_STATS [ <replaceable class="parameter">boolean</replaceable> ]
4040
ONLY_DATABASE_STATS [ <replaceable class="parameter">boolean</replaceable> ]
41-
BUFFER_USAGE_LIMIT [ <replaceable class="parameter">size</replaceable> ]
41+
BUFFER_USAGE_LIMIT <replaceable class="parameter">size</replaceable>
4242

4343
<phrase>and <replaceable class="parameter">table_and_columns</replaceable> is:</phrase>
4444

@@ -389,9 +389,9 @@ VACUUM [ ( <replaceable class="parameter">option</replaceable> [, ...] ) ] [ <re
389389
<para>
390390
Specifies an amount of memory in kilobytes. Sizes may also be specified
391391
as a string containing the numerical size followed by any one of the
392-
following memory units: <literal>kB</literal> (kilobytes),
393-
<literal>MB</literal> (megabytes), <literal>GB</literal> (gigabytes), or
394-
<literal>TB</literal> (terabytes).
392+
following memory units: <literal>B</literal> (bytes),
393+
<literal>kB</literal> (kilobytes), <literal>MB</literal> (megabytes),
394+
<literal>GB</literal> (gigabytes), or <literal>TB</literal> (terabytes).
395395
</para>
396396
</listitem>
397397
</varlistentry>

0 commit comments

Comments
 (0)