mirror of
				https://github.com/postgres/postgres.git
				synced 2025-11-03 09:13:20 +03:00 
			
		
		
		
	doc: Fix some grammar and inconsistencies
Some comments are fixed while on it. Author: Justin Pryzby Discussion: https://postgr.es/m/20200818171702.GK17022@telsasoft.com Backpatch-through: 9.6
This commit is contained in:
		@@ -223,7 +223,7 @@ $ pg_recvlogical -d postgres --slot test --drop-slot
 | 
				
			|||||||
     A logical slot will emit each change just once in normal operation.
 | 
					     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 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
 | 
					     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
 | 
					     Logical decoding clients are responsible for avoiding ill effects from
 | 
				
			||||||
     handling the same message more than once.  Clients may wish to record
 | 
					     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
 | 
					     the last LSN they saw when decoding and skip over any repeated data or
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -786,7 +786,7 @@ ALTER TABLE [ IF EXISTS ] <replaceable class="PARAMETER">name</replaceable>
 | 
				
			|||||||
      <literal>UNIQUE</literal>, <literal>PRIMARY KEY</literal>, and
 | 
					      <literal>UNIQUE</literal>, <literal>PRIMARY KEY</literal>, and
 | 
				
			||||||
      <literal>FOREIGN KEY</literal> constraints are not considered.
 | 
					      <literal>FOREIGN KEY</literal> constraints are not considered.
 | 
				
			||||||
      If any of the <literal>CHECK</literal> constraints of the table being
 | 
					      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
 | 
					      such constraints must be recreated without the
 | 
				
			||||||
      <literal>NO INHERIT</literal> clause.
 | 
					      <literal>NO INHERIT</literal> clause.
 | 
				
			||||||
     </para>
 | 
					     </para>
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -159,7 +159,7 @@ CREATE SUBSCRIPTION <replaceable class="PARAMETER">subscription_name</replaceabl
 | 
				
			|||||||
         <para>
 | 
					         <para>
 | 
				
			||||||
          It is safe to use <literal>off</literal> for logical replication:
 | 
					          It is safe to use <literal>off</literal> for logical replication:
 | 
				
			||||||
          If the subscriber loses transactions because of missing
 | 
					          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>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
         <para>
 | 
					         <para>
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -359,7 +359,7 @@ ereport(ERROR,
 | 
				
			|||||||
     specify suppression of the <literal>CONTEXT:</> portion of a message in
 | 
					     specify suppression of the <literal>CONTEXT:</> portion of a message in
 | 
				
			||||||
     the postmaster log.  This should only be used for verbose debugging
 | 
					     the postmaster log.  This should only be used for verbose debugging
 | 
				
			||||||
     messages where the repeated inclusion of context would bloat the log
 | 
					     messages where the repeated inclusion of context would bloat the log
 | 
				
			||||||
     volume too much.
 | 
					     too much.
 | 
				
			||||||
    </para>
 | 
					    </para>
 | 
				
			||||||
   </listitem>
 | 
					   </listitem>
 | 
				
			||||||
  </itemizedlist>
 | 
					  </itemizedlist>
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -1341,7 +1341,7 @@ ProcSleep(LOCALLOCK *locallock, LockMethod lockMethodTable)
 | 
				
			|||||||
			else
 | 
								else
 | 
				
			||||||
				LWLockRelease(ProcArrayLock);
 | 
									LWLockRelease(ProcArrayLock);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
			/* prevent signal from being resent more than once */
 | 
								/* prevent signal from being sent again more than once */
 | 
				
			||||||
			allow_autovacuum_cancel = false;
 | 
								allow_autovacuum_cancel = false;
 | 
				
			||||||
		}
 | 
							}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user