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

Commit13a10c0

Browse files
committed
C comment: update lock level mention in comment
Patch by Etsuro Fujita
1 parent959277a commit13a10c0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

‎src/backend/commands/tablecmds.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1756,9 +1756,9 @@ MergeAttributes(List *schema, List *supers, char relpersistence,
17561756
pfree(newattno);
17571757

17581758
/*
1759-
* Close the parent rel, but keep ourAccessShareLock on it until xact
1760-
* commit. That will prevent someone else from deleting or ALTERing
1761-
* the parent before the child is committed.
1759+
* Close the parent rel, but keep ourShareUpdateExclusiveLock on it
1760+
*until xactcommit. That will prevent someone else from deleting or
1761+
*ALTERingthe parent before the child is committed.
17621762
*/
17631763
heap_close(relation,NoLock);
17641764
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp