diff options
author | Michael Paquier <michael@paquier.xyz> | 2020-09-10 15:50:19 +0900 |
---|---|---|
committer | Michael Paquier <michael@paquier.xyz> | 2020-09-10 15:50:19 +0900 |
commit | aad546bd0a51059aafe44e8c4a783afa1557d1d9 (patch) | |
tree | 3373e5820af0603d0e54b1bee45c4ac11db529f7 /src | |
parent | fe4d022c8e171ba3a9165bd55fa6b2ca3a40fa4e (diff) | |
download | postgresql-aad546bd0a51059aafe44e8c4a783afa1557d1d9.tar.gz postgresql-aad546bd0a51059aafe44e8c4a783afa1557d1d9.zip |
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.c | 4 | ||||
-rw-r--r-- | src/backend/storage/lmgr/proc.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/backend/replication/logical/relation.c b/src/backend/replication/logical/relation.c index a60c73d74d5..3d2d56295b0 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 19a9f939492..88566bd9fab 100644 --- a/src/backend/storage/lmgr/proc.c +++ b/src/backend/storage/lmgr/proc.c @@ -1369,7 +1369,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; } |