Skip to content

Commit 8320c62

Browse files
Change comment to describe correct lock level used
1 parent 71404af commit 8320c62

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
@@ -532,7 +532,7 @@ CreateTrigger(CreateTrigStmt *stmt, const char *queryString,
532532
* can skip this for internally generated triggers, since the name
533533
* modification above should be sufficient.
534534
*
535-
* NOTE that this is cool only because we have AccessExclusiveLock on the
535+
* NOTE that this is cool only because we have ShareRowExclusiveLock on the
536536
* relation, so the trigger set won't be changing underneath us.
537537
*/
538538
if (!isInternal)

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy