Change comment to describe correct lock level used

This commit is contained in:
Simon Riggs 2016-03-23 11:33:26 +00:00
parent d8d5a00b18
commit 147112d098

View File

@ -533,7 +533,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)