diff options
author | Bruce Momjian | 2015-03-20 12:31:10 +0000 |
---|---|---|
committer | Bruce Momjian | 2015-03-20 12:31:13 +0000 |
commit | 13a10c0ccd984643ef88997ac177da7c4b7e46a6 (patch) | |
tree | 1450637d3f33354abe206b55b82dfbc6bc3ef93f /src/backend/commands | |
parent | 959277a4f579da5243968c750069570a58e92b38 (diff) |
C comment: update lock level mention in comment
Patch by Etsuro Fujita
Diffstat (limited to 'src/backend/commands')
-rw-r--r-- | src/backend/commands/tablecmds.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/backend/commands/tablecmds.c b/src/backend/commands/tablecmds.c index 623e6bfba81..41474575055 100644 --- a/src/backend/commands/tablecmds.c +++ b/src/backend/commands/tablecmds.c @@ -1756,9 +1756,9 @@ MergeAttributes(List *schema, List *supers, char relpersistence, pfree(newattno); /* - * Close the parent rel, but keep our AccessShareLock on it until xact - * commit. That will prevent someone else from deleting or ALTERing - * the parent before the child is committed. + * Close the parent rel, but keep our ShareUpdateExclusiveLock on it + * until xact commit. That will prevent someone else from deleting or + * ALTERing the parent before the child is committed. */ heap_close(relation, NoLock); } |