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

Commit25b3ddd

Browse files
committed
Add missing ReleaseBuffer call in BRIN revmap code
I think this particular branch is actually dead, but the analysis toprove that is not trivial, so instead take the weasel way.Reported by Jinyu ZhangBackpatch to 9.5, where BRIN was introduced.
1 parent974f910 commit25b3ddd

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

‎src/backend/access/brin/brin_revmap.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -432,6 +432,7 @@ revmap_physical_extend(BrinRevmap *revmap)
432432
if (needLock)
433433
UnlockRelationForExtension(irel,ExclusiveLock);
434434
LockBuffer(revmap->rm_metaBuf,BUFFER_LOCK_UNLOCK);
435+
ReleaseBuffer(buf);
435436
return;
436437
}
437438
LockBuffer(buf,BUFFER_LOCK_EXCLUSIVE);

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp