Skip to content

Commit 0c80b57

Browse files
committed
Remove obsolete comment.
The lock level for adding a parent table is now ShareUpdateExclusiveLock; see commit fbcf4b9. 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.
1 parent 39a68e5 commit 0c80b57

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/backend/commands/tablecmds.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2676,8 +2676,7 @@ AlterTableGetLockLevel(List *cmds)
26762676
* started before us will continue to see the old inheritance
26772677
* behaviour, while queries started after we commit will see
26782678
* new behaviour. No need to prevent reads or writes to the
2679-
* subtable while we hook it up though. In both cases the
2680-
* parent table is locked with AccessShareLock.
2679+
* subtable while we hook it up though.
26812680
*/
26822681
case AT_AddInherit:
26832682
case AT_DropInherit:

0 commit comments

Comments
 (0)