doc: Improve some grammar and sentences
authorMichael Paquier
Tue, 29 Dec 2020 09:18:59 +0000 (18:18 +0900)
committerMichael Paquier
Tue, 29 Dec 2020 09:18:59 +0000 (18:18 +0900)
90fbf7c has taken care of that for HEAD.  This includes the portion of
the fixes that applies to the documentation, where needed depending on
the branch.

Author: Justin Pryzby
Discussion: https://postgr.es/m/20201227202604[email protected]
Backpatch-through: 9.5

doc/src/sgml/catalogs.sgml
doc/src/sgml/pgstatstatements.sgml
doc/src/sgml/ref/explain.sgml
doc/src/sgml/ref/pg_dump.sgml
doc/src/sgml/ref/pg_verifybackup.sgml
doc/src/sgml/sources.sgml
doc/src/sgml/wal.sgml

index 70536ce5c74461ef1c61d9e7c4c811149dfea003..db45c0b993d47eadc7880f8fcbbb754a5b78a64f 100644 (file)
@@ -4466,7 +4466,7 @@ SCRAM-SHA-256$<iteration count>:&l
        inherited columns are to be arranged.  The count starts at 1.
       
       
-       Indexes can not have multiple inheritance, since they can only inherit
+       Indexes cannot have multiple inheritance, since they can only inherit
        when using declarative partitioning.
       
      
index cf2d25b7b22fd9041ff7601eb5a60469853eea1d..c7f7feaaf891c8e4ff29aafc2c447e5d456de78a 100644 (file)
        wal_bytes numeric
       
       
-       Total amount of WAL bytes generated by the statement
+       Total amount of WAL generated by the statement in bytes
       
      
     
index 906b2ccd50a2f3a2ba218e8ea69403ebe25001bc..cc4d1a87398b35683ae89ed11938af6fe935b55b 100644 (file)
@@ -198,9 +198,9 @@ ROLLBACK;
     
      
       Include information on WAL record generation. Specifically, include the
-      number of records, number of full page images (fpi) and amount of WAL
-      bytes generated.  In text format, only non-zero values are printed.  This
-      parameter may only be used when ANALYZE is also
+      number of records, number of full page images (fpi) and the amount of WAL
+      generated in bytes. In text format, only non-zero values are printed.
+      This parameter may only be used when ANALYZE is also
       enabled.  It defaults to FALSE.
      
     
index 2ab7f39c3d29d8dcd35a46b62c84affe89c5f28b..8ff5b7417fc11834faf0fe8a061e660d1871c47e 100644 (file)
@@ -630,7 +630,7 @@ PostgreSQL documentation
       
        
         Specify the compression level to use.  Zero means no compression.
-        For the custom archive format, this specifies compression of
+        For the custom and directory archive formats, this specifies compression of
         individual table-data segments, and the default is to compress
         at a moderate level.
         For plain text output, setting a nonzero compression level causes
index d454b970a15100670764b7800d30af9b215a0db2..23a0ba025cd900ab142820f0775ed2664cb15f81 100644 (file)
@@ -40,7 +40,7 @@ PostgreSQL documentation
 
   
    It is important to note that the validation which is performed by
-   pg_verifybackup does not and can not include
+   pg_verifybackup does not and cannot include
    every check which will be performed by a running server when attempting
    to make use of the backup. Even if you use this tool, you should still
    perform test restores and verify that the resulting databases work as
index 38a516080c189ac760940c5406a92190d5925027..62cf2fded401a6a8697dea075e872685a68dd153 100644 (file)
@@ -103,7 +103,7 @@ less -x4
     message text.  In addition there are optional elements, the most
     common of which is an error identifier code that follows the SQL spec's
     SQLSTATE conventions.
-    ereport itself is just a shell macro, that exists
+    ereport itself is just a shell macro that exists
     mainly for the syntactic convenience of making message generation
     look like a single function call in the C source code.  The only parameter
     accepted directly by ereport is the severity level.
index 3c00d6db0d858962949661852bcf52b29085af50..7a2e111bfc5d79b0c119ed8336d54f6d320dca2c 100644 (file)
    Independently of max_wal_size,
    the most recent  megabytes of
    WAL files plus one additional WAL file are
-   kept at all times. Also, if WAL archiving is used, old segments can not be
+   kept at all times. Also, if WAL archiving is used, old segments cannot be
    removed or recycled until they are archived. If WAL archiving cannot keep up
    with the pace that WAL is generated, or if archive_command
    fails repeatedly, old WAL files will accumulate in pg_wal