Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitaad546b

Browse files
committed
doc: Fix some grammar and inconsistencies
Some comments are fixed while on it.Author: Justin PryzbyDiscussion:https://postgr.es/m/20200818171702.GK17022@telsasoft.comBackpatch-through: 9.6
1 parentfe4d022 commitaad546b

File tree

7 files changed

+11
-10
lines changed

7 files changed

+11
-10
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 beresent when the server restarts.
226+
then cause recent changes to besent 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
@@ -889,7 +889,7 @@ WITH ( MODULUS <replaceable class="parameter">numeric_literal</replaceable>, REM
889889
from the parent table will be created in the partition, if they don't
890890
already exist.
891891
If any of the <literal>CHECK</literal> constraints of the table being
892-
attachedis marked <literal>NO INHERIT</literal>, the command will fail;
892+
attachedare marked <literal>NO INHERIT</literal>, the command will fail;
893893
such constraints must be recreated without the
894894
<literal>NO INHERIT</literal> clause.
895895
</para>

‎doc/src/sgml/ref/create_subscription.sgml

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

166166
<para>

‎doc/src/sgml/ref/pg_verifybackup.sgml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -82,8 +82,8 @@ PostgreSQL documentation
8282
for any files for which the computed checksum does not match the
8383
checksum stored in the manifest. This step is not performed for any files
8484
which produced errors in the previous step, since they are already known
85-
to have problems.Also, fileswhich were ignored in the previous step are
86-
alsoignored in this step.
85+
to have problems.Fileswhich were ignored in the previous step are also
86+
ignored in this step.
8787
</para>
8888

8989
<para>
@@ -121,7 +121,8 @@ PostgreSQL documentation
121121
<title>Options</title>
122122

123123
<para>
124-
The following command-line options control the behavior.
124+
<application>pg_verifybackup</application> accepts the following
125+
command-line arguments:
125126

126127
<variablelist>
127128
<varlistentry>

‎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-
volumetoo much.
376+
too much.
377377
</para>
378378
</listitem>
379379
</itemizedlist>

‎src/backend/replication/logical/relation.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -631,8 +631,8 @@ logicalrep_partition_open(LogicalRepRelMapEntry *root,
631631
/*
632632
* If the partition's attributes don't match the root relation's, we'll
633633
* need to make a new attrmap which maps partition attribute numbers to
634-
* remoterel's, instead the original which maps root relation's attribute
635-
* numbers to remoterel's.
634+
* remoterel's, insteadofthe original which maps root relation's
635+
*attributenumbers to remoterel's.
636636
*
637637
* Note that 'map' which comes from the tuple routing data structure
638638
* contains 1-based attribute numbers (of the parent relation). However,

‎src/backend/storage/lmgr/proc.c

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

1372-
/* prevent signal from beingresent more than once */
1372+
/* prevent signal from beingsent again more than once */
13731373
allow_autovacuum_cancel= false;
13741374
}
13751375

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp