doc: Fix description of BUFFER_USAGE_LIMIT for VACUUM and ANALYZE
authorMichael Paquier
Wed, 20 Sep 2023 04:36:54 +0000 (13:36 +0900)
committerMichael Paquier
Wed, 20 Sep 2023 04:36:54 +0000 (13:36 +0900)
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
doc/src/sgml/ref/vacuum.sgml

index 1fba089265af2747da49f1d1697b753f0ff95490..4c79a01eb6ecb470295ec03102001e8dc067e9ba 100644 (file)
@@ -27,7 +27,7 @@ ANALYZE [ ( option [, ...] ) ] [ 
 
     VERBOSE [ boolean ]
     SKIP_LOCKED [ boolean ]
-    BUFFER_USAGE_LIMIT size ]
+    BUFFER_USAGE_LIMIT size
 
 and table_and_columns is:
 
@@ -128,9 +128,9 @@ ANALYZE [ ( option [, ...] ) ] [ 
      
       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: kB (kilobytes),
-      MB (megabytes), GB (gigabytes), or
-      TB (terabytes).
+      following memory units: B (bytes),
+      kB (kilobytes), MB (megabytes),
+      GB (gigabytes), or TB (terabytes).
      
     
    
index 90cde70c070332e5945966e76e58e7128a9ac971..a87c2e320e2f9830405fd365f2d5188f70e30418 100644 (file)
@@ -38,7 +38,7 @@ VACUUM [ ( option [, ...] ) ] [ 
     PARALLEL integer
     SKIP_DATABASE_STATS [ boolean ]
     ONLY_DATABASE_STATS [ boolean ]
-    BUFFER_USAGE_LIMIT size ]
+    BUFFER_USAGE_LIMIT size
 
 and table_and_columns is:
 
@@ -389,9 +389,9 @@ VACUUM [ ( option [, ...] ) ] [ 
      
       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: kB (kilobytes),
-      MB (megabytes), GB (gigabytes), or
-      TB (terabytes).
+      following memory units: B (bytes),
+      kB (kilobytes), MB (megabytes),
+      GB (gigabytes), or TB (terabytes).