mirror of
https://github.com/postgres/postgres.git
synced 2026-04-24 07:40:59 -04:00
C comment: update lock level mention in comment
Patch by Etsuro Fujita
This commit is contained in:
parent
959277a4f5
commit
13a10c0ccd
1 changed files with 3 additions and 3 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue