Skip to content

Commit 8af3ebc

Browse files
author
Artur Zakirov
committed
Fix buffer unlocking
1 parent 61b8f4c commit 8af3ebc

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ OBJS = rumsort.o rum_ts_utils.o \
88

99
EXTENSION = rum
1010
DATA = rum--1.0.sql
11-
PGFILEDESC = "RUM access method"
11+
PGFILEDESC = "RUM index access method"
1212

1313
REGRESS = rum
1414

rum.control

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# RUM extension
2-
comment = 'RUM access method'
2+
comment = 'RUM index access method'
33
default_version = '1.0'
44
module_pathname = '$libdir/rum'
55
relocatable = true

rumbtree.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -384,6 +384,7 @@ rumInsertValue(Relation index, RumBtree btree, RumBtreeStack *stack,
384384
GENERIC_XLOG_FULL_IMAGE);
385385
GenericXLogFinish(state);
386386

387+
LockBuffer(stack->buffer, RUM_UNLOCK);
387388
freeRumBtreeStack(stack);
388389

389390
return;

0 commit comments

Comments
 (0)