mirror of
https://github.com/postgres/postgres.git
synced 2025-04-27 22:56:53 +03:00
Remove obsolete comment.
The lock level for adding a parent table is now ShareUpdateExclusiveLock; see commit fbcf4b92aa64d4577bcf25925b055316b978744a. This comment didn't get updated to match, but it doesn't seem important to mention this detail here, so rather than updating it now, just take it out.
This commit is contained in:
parent
39a68e5c6c
commit
0c80b57d07
@ -2676,8 +2676,7 @@ AlterTableGetLockLevel(List *cmds)
|
|||||||
* started before us will continue to see the old inheritance
|
* started before us will continue to see the old inheritance
|
||||||
* behaviour, while queries started after we commit will see
|
* behaviour, while queries started after we commit will see
|
||||||
* new behaviour. No need to prevent reads or writes to the
|
* new behaviour. No need to prevent reads or writes to the
|
||||||
* subtable while we hook it up though. In both cases the
|
* subtable while we hook it up though.
|
||||||
* parent table is locked with AccessShareLock.
|
|
||||||
*/
|
*/
|
||||||
case AT_AddInherit:
|
case AT_AddInherit:
|
||||||
case AT_DropInherit:
|
case AT_DropInherit:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user