doc: Fix description of BUFFER_USAGE_LIMIT for VACUUM and ANALYZE
authorMichael Paquier
Wed, 20 Sep 2023 04:37:02 +0000 (13:37 +0900)
committerMichael Paquier
Wed, 20 Sep 2023 04:37:02 +0000 (13:37 +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 aa3e9e1c5fe5b936bb42b4fc382a0192240e680f..73fa3b3dff3a34c3119e912b463c6f61a0428d51 100644 (file)
@@ -28,7 +28,7 @@ ANALYZE [ VERBOSE ] [ table_and_columns
 
     VERBOSE [ boolean ]
     SKIP_LOCKED [ boolean ]
-    BUFFER_USAGE_LIMIT size ]
+    BUFFER_USAGE_LIMIT size
 
 and table_and_columns is:
 
@@ -136,9 +136,9 @@ ANALYZE [ VERBOSE ] [ table_and_columns
      
       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 65c03bf8299d8df6c4cede602c206694d0290a5a..2b85c3d385dbf0f3d0990a1062996f3ecfcd0933 100644 (file)
@@ -39,7 +39,7 @@ VACUUM [ FULL ] [ FREEZE ] [ VERBOSE ] [ ANALYZE ] [ 
     PARALLEL integer
     SKIP_DATABASE_STATS [ boolean ]
     ONLY_DATABASE_STATS [ boolean ]
-    BUFFER_USAGE_LIMIT size ]
+    BUFFER_USAGE_LIMIT size
 
 and table_and_columns is:
 
@@ -399,9 +399,9 @@ VACUUM [ FULL ] [ FREEZE ] [ VERBOSE ] [ ANALYZE ] [ 
      
       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).