]> git.ipfire.org Git - thirdparty/postgresql.git/commitdiff
doc: Fix some grammar and inconsistencies
authorMichael Paquier <michael@paquier.xyz>
Thu, 10 Sep 2020 06:50:50 +0000 (15:50 +0900)
committerMichael Paquier <michael@paquier.xyz>
Thu, 10 Sep 2020 06:50:50 +0000 (15:50 +0900)
Some comments are fixed while on it.

Author: Justin Pryzby
Discussion: https://postgr.es/m/20200818171702.GK17022@telsasoft.com
Backpatch-through: 9.6

doc/src/sgml/logicaldecoding.sgml
doc/src/sgml/ref/alter_table.sgml
doc/src/sgml/ref/create_subscription.sgml
doc/src/sgml/sources.sgml
src/backend/storage/lmgr/proc.c

index 8db968641ee447cbc1fc643e37ed47c6cf0f37e9..05d59ce1c8a69f7d16db03f631909e30ce54b06b 100644 (file)
@@ -223,7 +223,7 @@ $ pg_recvlogical -d postgres --slot=test --drop-slot
      A logical slot will emit each change just once in normal operation.
      The current position of each slot is persisted only at checkpoint, so in
      the case of a crash the slot may return to an earlier LSN, which will
-     then cause recent changes to be resent when the server restarts.
+     then cause recent changes to be sent again when the server restarts.
      Logical decoding clients are responsible for avoiding ill effects from
      handling the same message more than once.  Clients may wish to record
      the last LSN they saw when decoding and skip over any repeated data or
index 5c4685addd76b9936e2503a6cc46a0990520f022..9b2e4c5749c25a92a8665d10a01a3fad85a5d5d5 100644 (file)
@@ -883,7 +883,7 @@ WITH ( MODULUS <replaceable class="parameter">numeric_literal</replaceable>, REM
       from the parent table will be created in the partition, if they don't
       already exist.
       If any of the <literal>CHECK</literal> constraints of the table being
-      attached is marked <literal>NO INHERIT</literal>, the command will fail;
+      attached are marked <literal>NO INHERIT</literal>, the command will fail;
       such constraints must be recreated without the
       <literal>NO INHERIT</literal> clause.
      </para>
index 1a90c244fbfbf8a8a7988362c120cded8d5314a3..c9b6623512668a5b6b235ae09e81230f5f43dc81 100644 (file)
@@ -159,7 +159,7 @@ CREATE SUBSCRIPTION <replaceable class="parameter">subscription_name</replaceabl
          <para>
           It is safe to use <literal>off</literal> for logical replication:
           If the subscriber loses transactions because of missing
-          synchronization, the data will be resent from the publisher.
+          synchronization, the data will be sent again from the publisher.
          </para>
 
          <para>
index f1e5bf291c54a76e024abf44b4931ec76c270e4f..21d2501095aaa529e039b998bda2ab6ff5d121bc 100644 (file)
@@ -359,7 +359,7 @@ ereport(ERROR,
      specify suppression of the <literal>CONTEXT:</literal> portion of a message in
      the postmaster log.  This should only be used for verbose debugging
      messages where the repeated inclusion of context would bloat the log
-     volume too much.
+     too much.
     </para>
    </listitem>
   </itemizedlist>
index 94b203f0fbd7c31beb1c0d0dee5205361b1a9a68..aa053070513e6536e8d27c5df26f2b26d4d2c07b 100644 (file)
@@ -1353,7 +1353,7 @@ ProcSleep(LOCALLOCK *locallock, LockMethod lockMethodTable)
                        else
                                LWLockRelease(ProcArrayLock);
 
-                       /* prevent signal from being resent more than once */
+                       /* prevent signal from being sent again more than once */
                        allow_autovacuum_cancel = false;
                }