Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit0c80b57

Browse files
committed
Remove obsolete comment.
The lock level for adding a parent table is now ShareUpdateExclusiveLock;see commitfbcf4b9. This comment didn'tget updated to match, but it doesn't seem important to mention this detailhere, so rather than updating it now, just take it out.
1 parent39a68e5 commit0c80b57

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
caseAT_AddInherit:
26832682
caseAT_DropInherit:

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp