doc: Fix some grammar
authorMichael Paquier <[email protected]>
Tue, 25 Jan 2022 01:49:51 +0000 (10:49 +0900)
committerMichael Paquier <[email protected]>
Tue, 25 Jan 2022 01:49:51 +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[email protected]
Backpatch-through: 10

doc/src/sgml/protocol.sgml
doc/src/sgml/ref/pg_receivewal.sgml

index f9936eac0109c35482230fcce40546eec3715421..a51822b5d554164e881a84812db9d07525603648 100644 (file)
@@ -1809,7 +1809,7 @@ The commands accepted in walsender mode are:
       streaming starts on timeline <replaceable class="parameter">tli</>;
       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 fd4e117de3465751b63106ce3186b86061ebe3b6..6e6787d8b50c12ebcf65b9b21289c29f9e167ea3 100644 (file)
@@ -83,9 +83,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>
 
@@ -93,7 +92,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>