Skip to content

Commit 25ff747

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 d038c6c commit 25ff747

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
@@ -868,7 +868,7 @@ WITH ( MODULUS <replaceable class="parameter">numeric_literal</replaceable>, REM
868868
from the parent table will be created in the partition, if they don't
869869
already exist.
870870
If any of the <literal>CHECK</literal> constraints of the table being
871-
attached is marked <literal>NO INHERIT</literal>, the command will fail;
871+
attached are marked <literal>NO INHERIT</literal>, the command will fail;
872872
such constraints must be recreated without the
873873
<literal>NO INHERIT</literal> clause.
874874
</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
@@ -373,7 +373,7 @@ ereport(ERROR,
373373
specify suppression of the <literal>CONTEXT:</literal> portion of a message in
374374
the postmaster log. This should only be used for verbose debugging
375375
messages where the repeated inclusion of context would bloat the log
376-
volume too much.
376+
too much.
377377
</para>
378378
</listitem>
379379
</itemizedlist>

src/backend/storage/lmgr/proc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1370,7 +1370,7 @@ ProcSleep(LOCALLOCK *locallock, LockMethod lockMethodTable)
13701370
else
13711371
LWLockRelease(ProcArrayLock);
13721372

1373-
/* prevent signal from being resent more than once */
1373+
/* prevent signal from being sent again more than once */
13741374
allow_autovacuum_cancel = false;
13751375
}
13761376

0 commit comments

Comments
 (0)