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

Commitea28a73

Browse files
committed
Use exclusive lock of page to post-build log write
1 parent5df5c3e commitea28a73

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎ruminsert.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -682,7 +682,7 @@ rumbuild(Relation heap, Relation index, struct IndexInfo *indexInfo)
682682
CHECK_FOR_INTERRUPTS();
683683

684684
buffer=ReadBuffer(index,blkno);
685-
LockBuffer(buffer,RUM_SHARE);
685+
LockBuffer(buffer,RUM_EXCLUSIVE);
686686

687687
state=GenericXLogStart(index);
688688
GenericXLogRegisterBuffer(state,buffer,GENERIC_XLOG_FULL_IMAGE);

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp