Skip to content

Commit 3701db7

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 64276c7 commit 3701db7

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
@@ -28,7 +28,7 @@ ANALYZE [ VERBOSE ] [ <replaceable class="parameter">table_and_columns</replacea
2828

2929
VERBOSE [ <replaceable class="parameter">boolean</replaceable> ]
3030
SKIP_LOCKED [ <replaceable class="parameter">boolean</replaceable> ]
31-
BUFFER_USAGE_LIMIT [ <replaceable class="parameter">size</replaceable> ]
31+
BUFFER_USAGE_LIMIT <replaceable class="parameter">size</replaceable>
3232

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

@@ -136,9 +136,9 @@ ANALYZE [ VERBOSE ] [ <replaceable class="parameter">table_and_columns</replacea
136136
<para>
137137
Specifies an amount of memory in kilobytes. Sizes may also be specified
138138
as a string containing the numerical size followed by any one of the
139-
following memory units: <literal>kB</literal> (kilobytes),
140-
<literal>MB</literal> (megabytes), <literal>GB</literal> (gigabytes), or
141-
<literal>TB</literal> (terabytes).
139+
following memory units: <literal>B</literal> (bytes),
140+
<literal>kB</literal> (kilobytes), <literal>MB</literal> (megabytes),
141+
<literal>GB</literal> (gigabytes), or <literal>TB</literal> (terabytes).
142142
</para>
143143
</listitem>
144144
</varlistentry>

doc/src/sgml/ref/vacuum.sgml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ VACUUM [ FULL ] [ FREEZE ] [ VERBOSE ] [ ANALYZE ] [ <replaceable class="paramet
3939
PARALLEL <replaceable class="parameter">integer</replaceable>
4040
SKIP_DATABASE_STATS [ <replaceable class="parameter">boolean</replaceable> ]
4141
ONLY_DATABASE_STATS [ <replaceable class="parameter">boolean</replaceable> ]
42-
BUFFER_USAGE_LIMIT [ <replaceable class="parameter">size</replaceable> ]
42+
BUFFER_USAGE_LIMIT <replaceable class="parameter">size</replaceable>
4343

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

@@ -399,9 +399,9 @@ VACUUM [ FULL ] [ FREEZE ] [ VERBOSE ] [ ANALYZE ] [ <replaceable class="paramet
399399
<para>
400400
Specifies an amount of memory in kilobytes. Sizes may also be specified
401401
as a string containing the numerical size followed by any one of the
402-
following memory units: <literal>kB</literal> (kilobytes),
403-
<literal>MB</literal> (megabytes), <literal>GB</literal> (gigabytes), or
404-
<literal>TB</literal> (terabytes).
402+
following memory units: <literal>B</literal> (bytes),
403+
<literal>kB</literal> (kilobytes), <literal>MB</literal> (megabytes),
404+
<literal>GB</literal> (gigabytes), or <literal>TB</literal> (terabytes).
405405
</para>
406406
</listitem>
407407
</varlistentry>

0 commit comments

Comments
 (0)