Commit 8320c625 authored by Simon Riggs's avatar Simon Riggs

Change comment to describe correct lock level used

parent 71404af2
...@@ -532,7 +532,7 @@ CreateTrigger(CreateTrigStmt *stmt, const char *queryString, ...@@ -532,7 +532,7 @@ CreateTrigger(CreateTrigStmt *stmt, const char *queryString,
* can skip this for internally generated triggers, since the name * can skip this for internally generated triggers, since the name
* modification above should be sufficient. * 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. * relation, so the trigger set won't be changing underneath us.
*/ */
if (!isInternal) if (!isInternal)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment