postgres.git / summary / log / commit / refs
commit 147112d0984331d92b8c2faad885788c7cfd9fd2
Author: Simon Riggs <simon@2ndQuadrant.com>
Date: Wed Mar 23 11:33:26 2016 +0000
First released in: 9.6.0, 9.5.2
Change comment to describe correct lock level used
src/backend/commands/trigger.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/backend/commands/trigger.c b/src/backend/commands/trigger.c
index 74100f0eeaa..c835a2c409a 100644
--- a/src/backend/commands/trigger.c
+++ b/src/backend/commands/trigger.c
@@ -533,7 +533,7 @@ CreateTrigger(CreateTrigStmt *stmt, const char *queryString,
* can skip this for internally generated triggers, since the name
* modification above should be sufficient.
*
- * NOTE that this is cool only because we have AccessExclusiveLock on the
+ * NOTE that this is cool only because we have ShareRowExclusiveLock on the
* relation, so the trigger set won't be changing underneath us.
*/
if (!isInternal)
[parent: d8d5a00b1820]