summaryrefslogtreecommitdiff
path: root/src/backend/storage
diff options
context:
space:
mode:
authorRobert Haas2016-03-11 12:32:59 +0000
committerRobert Haas2016-03-11 12:34:00 +0000
commit481c76abf4f5dc99af28a799741c324732a299c6 (patch)
treec37ca54a8b326005be6dce0df2f43aca10e3bcaf /src/backend/storage
parent38c83c9b7569378d864d8915e291716b8bec15f2 (diff)
Fix a typo, and remove unnecessary pgstat_report_wait_end().
Per Amit Kapila.
Diffstat (limited to 'src/backend/storage')
-rw-r--r--src/backend/storage/lmgr/lwlock.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/backend/storage/lmgr/lwlock.c b/src/backend/storage/lmgr/lwlock.c
index 76d75a914f3..11e4a51adf6 100644
--- a/src/backend/storage/lmgr/lwlock.c
+++ b/src/backend/storage/lmgr/lwlock.c
@@ -760,9 +760,8 @@ GetLWLockIdentifier(uint8 classId, uint16 eventId)
/*
* It is quite possible that user has registered tranche in one of the
- * backends (e.g. by allocation lwlocks in dynamic shared memory) but not
- * all of them, so we can't assume the tranche is registered here.
- * extension for such cases.
+ * backends (e.g. by allocating lwlocks in dynamic shared memory) but
+ * not all of them, so we can't assume the tranche is registered here.
*/
if (eventId >= LWLockTranchesAllocated ||
LWLockTrancheArray[eventId]->name == NULL)