Commit 13a10c0c authored by Bruce Momjian's avatar Bruce Momjian

C comment: update lock level mention in comment

Patch by Etsuro Fujita
parent 959277a4
......@@ -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);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment