Skip to content

Commit d56d330

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 95cd890 commit d56d330

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
@@ -786,7 +786,7 @@ ALTER TABLE [ IF EXISTS ] <replaceable class="PARAMETER">name</replaceable>
786786
<literal>UNIQUE</literal>, <literal>PRIMARY KEY</literal>, and
787787
<literal>FOREIGN KEY</literal> constraints are not considered.
788788
If any of the <literal>CHECK</literal> constraints of the table being
789-
attached is marked <literal>NO INHERIT</literal>, the command will fail;
789+
attached are marked <literal>NO INHERIT</literal>, the command will fail;
790790
such constraints must be recreated without the
791791
<literal>NO INHERIT</literal> clause.
792792
</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:</> 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
@@ -1341,7 +1341,7 @@ ProcSleep(LOCALLOCK *locallock, LockMethod lockMethodTable)
13411341
else
13421342
LWLockRelease(ProcArrayLock);
13431343

1344-
/* prevent signal from being resent more than once */
1344+
/* prevent signal from being sent again more than once */
13451345
allow_autovacuum_cancel = false;
13461346
}
13471347

0 commit comments

Comments
 (0)