Skip to content

Commit 447c1cb

Browse files
committed
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
1 parent 67dde49 commit 447c1cb

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

doc/src/sgml/logicaldecoding.sgml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ $ pg_recvlogical -d postgres --slot=test --drop-slot
223223
A logical slot will emit each change just once in normal operation.
224224
The current position of each slot is persisted only at checkpoint, so in
225225
the case of a crash the slot may return to an earlier LSN, which will
226-
then cause recent changes to be resent when the server restarts.
226+
then cause recent changes to be sent again when the server restarts.
227227
Logical decoding clients are responsible for avoiding ill effects from
228228
handling the same message more than once. Clients may wish to record
229229
the last LSN they saw when decoding and skip over any repeated data or

doc/src/sgml/ref/alter_table.sgml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -883,7 +883,7 @@ WITH ( MODULUS <replaceable class="parameter">numeric_literal</replaceable>, REM
883883
from the parent table will be created in the partition, if they don't
884884
already exist.
885885
If any of the <literal>CHECK</literal> constraints of the table being
886-
attached is marked <literal>NO INHERIT</literal>, the command will fail;
886+
attached are marked <literal>NO INHERIT</literal>, the command will fail;
887887
such constraints must be recreated without the
888888
<literal>NO INHERIT</literal> clause.
889889
</para>

doc/src/sgml/ref/create_subscription.sgml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ CREATE SUBSCRIPTION <replaceable class="parameter">subscription_name</replaceabl
159159
<para>
160160
It is safe to use <literal>off</literal> for logical replication:
161161
If the subscriber loses transactions because of missing
162-
synchronization, the data will be resent from the publisher.
162+
synchronization, the data will be sent again from the publisher.
163163
</para>
164164

165165
<para>

doc/src/sgml/sources.sgml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -359,7 +359,7 @@ ereport(ERROR,
359359
specify suppression of the <literal>CONTEXT:</literal> portion of a message in
360360
the postmaster log. This should only be used for verbose debugging
361361
messages where the repeated inclusion of context would bloat the log
362-
volume too much.
362+
too much.
363363
</para>
364364
</listitem>
365365
</itemizedlist>

src/backend/storage/lmgr/proc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1353,7 +1353,7 @@ ProcSleep(LOCALLOCK *locallock, LockMethod lockMethodTable)
13531353
else
13541354
LWLockRelease(ProcArrayLock);
13551355

1356-
/* prevent signal from being resent more than once */
1356+
/* prevent signal from being sent again more than once */
13571357
allow_autovacuum_cancel = false;
13581358
}
13591359

0 commit comments

Comments
 (0)