Fix grammatical errors and typos in logical replication docs.
authorAmit Kapila
Tue, 12 Apr 2022 08:44:32 +0000 (14:14 +0530)
committerAmit Kapila
Tue, 12 Apr 2022 08:44:32 +0000 (14:14 +0530)
Author: Justin Pryzby
Reviewed By: Masahiko Sawada
Discussion: https://postgr.es/m/20220411020336[email protected]

doc/src/sgml/logical-replication.sgml
doc/src/sgml/ref/alter_subscription.sgml

index 555fbd749cc951fe16c6738570927a6443027470..1126ce4ccf76042bdcfb41d9f6629ae6779ecf67 100644 (file)
@@ -363,21 +363,21 @@ CONTEXT:  processing remote data for replication origin "pg_16395" during "INSER
    The LSN of the transaction that contains the change violating the constraint and
    the replication origin name can be found from the server log (LSN 0/14C0378 and
    replication origin pg_16395 in the above case).  The
-   transaction that produces conflict can be skipped by using
+   transaction that produced the conflict can be skipped by using
    ALTER SUBSCRIPTION ... SKIP with the finish LSN
    (i.e., LSN 0/14C0378).  The finish LSN could be an LSN at which the transaction
    is committed or prepared on the publisher.  Alternatively, the transaction can
    also be skipped by calling the 
-   pg_replication_origin_advance() function
-   transaction.  Before using this function, the subscription needs to be disabled
-   temporarily either by ALTER SUBSCRIPTION ... DISABLE or, the
+   pg_replication_origin_advance() function.
+   Before using this function, the subscription needs to be disabled temporarily
+   either by ALTER SUBSCRIPTION ... DISABLE or, the
    subscription can be used with the disable_on_error option.
    Then, you can use pg_replication_origin_advance() function
    with the node_name (i.e., pg_16395)
    and the next LSN of the finish LSN (i.e., 0/14C0379).  The current position of
    origins can be seen in the 
    pg_replication_origin_status system view.
-   Please note that skipping the whole transaction include skipping changes that
+   Please note that skipping the whole transaction includes skipping changes that
    might not violate any constraint.  This can easily make the subscriber
    inconsistent.
   
index 7c5203b6d3bae05d0d231191e4e1c8f6f2c4f2cf..353ea5def231ab9f8d10d914b1a0234b308ba858 100644 (file)
@@ -219,13 +219,13 @@ ALTER SUBSCRIPTION name RENAME TO <
      
       Skips applying all changes of the remote transaction.  If incoming data
       violates any constraints, logical replication will stop until it is
-      resolved.  By using ALTER SUBSCRIPTION ... SKIP command,
+      resolved.  By using the ALTER SUBSCRIPTION ... SKIP command,
       the logical replication worker skips all data modification changes within
       the transaction.  This option has no effect on the transactions that are
       already prepared by enabling two_phase on
       subscriber.
-      After logical replication worker successfully skips the transaction or
-      finishes a transaction, LSN (stored in
+      After the logical replication worker successfully skips the transaction or
+      finishes a transaction, the LSN (stored in
       pg_subscription.subskiplsn)
       is cleared.  See  for
       the details of logical replication conflicts.  Using this command requires
@@ -244,7 +244,7 @@ ALTER SUBSCRIPTION name RENAME TO <
           Specifies the finish LSN of the remote transaction whose changes
           are to be skipped by the logical replication worker.  The finish LSN
           is the LSN at which the transaction is either committed or prepared.
-          Skipping individual subtransaction is not supported.  Setting
+          Skipping individual subtransactions is not supported.  Setting
           NONE resets the LSN.