8000 Change comment to describe correct lock level used · prmdeveloper/postgres@147112d · GitHub
[go: up one dir, main page]

Skip to content

Commit 147112d

Browse files
Change comment to describe correct lock level used
1 parent d8d5a00 commit 147112d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/backend/commands/trigger.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -533,7 +533,7 @@ CreateTrigger(CreateTrigStmt *stmt, const char *queryString,
533533
* can skip this for internally generated triggers, since the name
534534
* modification above should be sufficient.
535535
*
536-
* NOTE that this is cool only because we have AccessExclusiveLock on the
536+
* NOTE that this is cool only because we have ShareRowExclusiveLock on the
537537
* relation, so the trigger set won't be changing underneath us.
538538
*/
539539
if (!isInternal)

0 commit comments

Comments
 (0)
0