summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMichael Paquier <michael@paquier.xyz>2020-09-10 15:50:42 +0900
committerMichael Paquier <michael@paquier.xyz>2020-09-10 15:50:42 +0900
commitb3d89b7a889614a5ad549bae49b8a6fdda3a6bdd (patch)
treecd8d98474d34d79a0fb9dbbf180f8a2450cf40d1 /src
parent6f15be5bedfc423b8a8f2f0282e2a0eb20a16663 (diff)
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
Diffstat (limited to 'src')
-rw-r--r--src/backend/replication/logical/relation.c4
-rw-r--r--src/backend/storage/lmgr/proc.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/backend/replication/logical/relation.c b/src/backend/replication/logical/relation.c
index 5781b42af62..4007bb2baf0 100644
--- a/src/backend/replication/logical/relation.c
+++ b/src/backend/replication/logical/relation.c
@@ -631,8 +631,8 @@ logicalrep_partition_open(LogicalRepRelMapEntry *root,
/*
* If the partition's attributes don't match the root relation's, we'll
* need to make a new attrmap which maps partition attribute numbers to
- * remoterel's, instead the original which maps root relation's attribute
- * numbers to remoterel's.
+ * remoterel's, instead of the original which maps root relation's
+ * attribute numbers to remoterel's.
*
* Note that 'map' which comes from the tuple routing data structure
* contains 1-based attribute numbers (of the parent relation). However,
diff --git a/src/backend/storage/lmgr/proc.c b/src/backend/storage/lmgr/proc.c
index f5eef6fa4ee..5844540ccca 100644
--- a/src/backend/storage/lmgr/proc.c
+++ b/src/backend/storage/lmgr/proc.c
@@ -1373,7 +1373,7 @@ ProcSleep(LOCALLOCK *locallock, LockMethod lockMethodTable)
else
LWLockRelease(ProcArrayLock);
- /* prevent signal from being resent more than once */
+ /* prevent signal from being sent again more than once */
allow_autovacuum_cancel = false;
}