]> git.ipfire.org Git - thirdparty/postgresql.git/commitdiff
doc: Fix some grammar
authorMichael Paquier <michael@paquier.xyz>
Tue, 25 Jan 2022 01:49:41 +0000 (10:49 +0900)
committerMichael Paquier <michael@paquier.xyz>
Tue, 25 Jan 2022 01:49:41 +0000 (10:49 +0900)
This is an extraction of the user-visible changes done in 410aa24,
including all the relevant documentation parts.

Author: Justin Pryzby
Discussion: https://postgr.es/m/20220124030001.GQ23027@telsasoft.com
Backpatch-through: 10

doc/src/sgml/config.sgml
doc/src/sgml/ddl.sgml
doc/src/sgml/perform.sgml
doc/src/sgml/protocol.sgml
doc/src/sgml/ref/pg_receivewal.sgml
doc/src/sgml/ref/select_into.sgml

index cbc2653b968e7251dbf4bdf11d3b28ddc96235de..9e70c5d3dd5659b21025ab360a7340cb6a9388ed 100644 (file)
@@ -7953,8 +7953,8 @@ COPY postgres_log FROM '/full/path/to/logfile.csv' WITH csv;
         This parameter specifies the default table access method to use when
         creating tables or materialized views if the <command>CREATE</command>
         command does not explicitly specify an access method, or when
-        <command>SELECT ... INTO</command> is used, which does not allow to
-        specify a table access method. The default is <literal>heap</literal>.
+        <command>SELECT ... INTO</command> is used, which does not allow
+        specifying a table access method. The default is <literal>heap</literal>.
        </para>
       </listitem>
      </varlistentry>
index 5fd2bcde362fa3042f994415e1b30598b46cd695..02ebb8850dee31b3bd4cca2e54e94679a490fe06 100644 (file)
@@ -3984,7 +3984,7 @@ ALTER TABLE measurement ATTACH PARTITION measurement_y2008m02
      holding an <literal>ACCESS EXCLUSIVE</literal> lock on that partition.
      It is recommended to drop the now-redundant <literal>CHECK</literal>
      constraint after the <command>ATTACH PARTITION</command> is complete.  If
-     the table being attached is itself a partitioned table then each of its
+     the table being attached is itself a partitioned table, then each of its
      sub-partitions will be recursively locked and scanned until either a
      suitable <literal>CHECK</literal> constraint is encountered or the leaf
      partitions are reached.
@@ -3999,7 +3999,7 @@ ALTER TABLE measurement ATTACH PARTITION measurement_y2008m02
      the partition being attached.  This operation will be performed whilst
      holding an <literal>ACCESS EXCLUSIVE</literal> lock on the <literal>
      DEFAULT</literal> partition.  If the <literal>DEFAULT</literal> partition
-     is itself a partitioned table then each of its partitions will be
+     is itself a partitioned table, then each of its partitions will be
      recursively checked in the same way as the table being attached, as
      mentioned above.
     </para>
index 1cd9f5092db174ea5d2f3f8058e78486e99095d0..74363b8ae4f21427493f5c10d68c6ce508ca84cd 100644 (file)
@@ -1336,7 +1336,7 @@ nd | {"1, 2": 33178, "1, 5": 33178, "2, 5": 27435, "1, 2, 5": 33178}
     <title>Multivariate MCV Lists</title>
 
     <para>
-     Another type of statistics stored for each column are most-common value
+     Another type of statistic stored for each column are most-common value
      lists.  This allows very accurate estimates for individual columns, but
      may result in significant misestimates for queries with conditions on
      multiple columns.
index 84ddab09984b5db74e5ce59ecaaf4c10c16810d7..32deff873c6c30d4a4bc0593705174d711397f9f 100644 (file)
@@ -2071,7 +2071,7 @@ The commands accepted in replication mode are:
       streaming starts on timeline <replaceable class="parameter">tli</replaceable>;
       otherwise, the server's current timeline is selected. The server can
       reply with an error, for example if the requested section of WAL has already
-      been recycled. On success, server responds with a CopyBothResponse
+      been recycled. On success, the server responds with a CopyBothResponse
       message, and then starts to stream WAL to the frontend.
      </para>
 
index eac9bd27838004c3d4df8fa13de3825a2115f353..5bc3d1ab163ea8bdd492115c129989466fa14d2a 100644 (file)
@@ -82,9 +82,8 @@ PostgreSQL documentation
     <listitem>
      <para>
       First, scan the directory where the WAL segment files are written and
-      find the newest completed segment file, using as starting point the
-      beginning of the next WAL segment file. This is calculated independently
-      on the compression method used to compress each segment.
+      find the newest completed segment file, using as the starting point the
+      beginning of the next WAL segment file.
      </para>
     </listitem>
 
@@ -92,7 +91,7 @@ PostgreSQL documentation
      <para>
       If a starting point cannot be calculated with the previous method,
       the latest WAL flush location is used as reported by the server from
-      a <literal>IDENTIFY_SYSTEM</literal> command.
+      an <literal>IDENTIFY_SYSTEM</literal> command.
      </para>
     </listitem>
    </orderedlist>
index e82e416d607123c7b691b345ed859b45a717f984..afdfae6c235f6dbbabf86811b5518ada622e1357 100644 (file)
@@ -107,7 +107,7 @@ SELECT [ ALL | DISTINCT [ ON ( <replaceable class="parameter">expression</replac
 
   <para>
    In contrast to <command>CREATE TABLE AS</command>, <command>SELECT
-   INTO</command> does not allow to specify properties like a table's access
+   INTO</command> does not allow specifying properties like a table's access
    method with <xref linkend="sql-createtable-method" /> or the table's
    tablespace with <xref linkend="sql-createtable-tablespace" />. Use <xref
    linkend="sql-createtableas"/> if necessary.  Therefore, the default table