|
|
@ -1756,9 +1756,9 @@ MergeAttributes(List *schema, List *supers, char relpersistence, |
|
|
|
pfree(newattno); |
|
|
|
pfree(newattno); |
|
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
/*
|
|
|
|
* Close the parent rel, but keep our AccessShareLock on it until xact |
|
|
|
* Close the parent rel, but keep our ShareUpdateExclusiveLock on it |
|
|
|
* commit. That will prevent someone else from deleting or ALTERing |
|
|
|
* until xact commit. That will prevent someone else from deleting or |
|
|
|
* the parent before the child is committed. |
|
|
|
* ALTERing the parent before the child is committed. |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
heap_close(relation, NoLock); |
|
|
|
heap_close(relation, NoLock); |
|
|
|
} |
|
|
|
} |
|
|
|