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

index 74100f0eeaabf2d19e2cd16176c62ce8a27d78dd..c835a2c409a843cc8a51bf155f7fd6a9304b2d4f 100644 (file)
@@ -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)