diff options
author | Simon Riggs <simon@2ndQuadrant.com> | 2016-03-23 11:32:34 +0000 |
---|---|---|
committer | Simon Riggs <simon@2ndQuadrant.com> | 2016-03-23 11:32:34 +0000 |
commit | 8320c625d983f4cf4c8f453165502d7cf3aa7cf3 (patch) | |
tree | 385a44378a2599bd7bbf435166d57f26852b2d8e /src/backend/commands/trigger.c | |
parent | 71404af2a29ce4a3a5907cdc8b893ec2bc0285b4 (diff) | |
download | postgresql-8320c625d983f4cf4c8f453165502d7cf3aa7cf3.tar.gz postgresql-8320c625d983f4cf4c8f453165502d7cf3aa7cf3.zip |
Change comment to describe correct lock level used
Diffstat (limited to 'src/backend/commands/trigger.c')
-rw-r--r-- | src/backend/commands/trigger.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/backend/commands/trigger.c b/src/backend/commands/trigger.c index 5fa2063c935..28260e86600 100644 --- a/src/backend/commands/trigger.c +++ b/src/backend/commands/trigger.c @@ -532,7 +532,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) |