]> granicus.if.org Git - postgresql/commitdiff
Change comment to describe correct lock level used
authorSimon Riggs <simon@2ndQuadrant.com>
Wed, 23 Mar 2016 11:32:34 +0000 (11:32 +0000)
committerSimon Riggs <simon@2ndQuadrant.com>
Wed, 23 Mar 2016 11:32:34 +0000 (11:32 +0000)
src/backend/commands/trigger.c

index 5fa2063c935ad7c24967a97a5078aba608751502..28260e86600adae325727ccab319dc0a97cb0fbd 100644 (file)
@@ -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)