Skip to content

Commit 089a1bb

Browse files
committed
Test for Issue #19
1 parent 7510433 commit 089a1bb

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

tests/pglist_tests.py

+10
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,16 @@ def test_order_by(self):
137137
816114
138138
)
139139

140+
# Autovacuum after large update, with active RUM index crashes postgres
141+
print("Test Issue #19")
142+
143+
self.node.safe_psql(
144+
"pglist",
145+
"DELETE FROM pglist WHERE id < 100000")
146+
self.node.safe_psql(
147+
"pglist",
148+
"vacuum")
149+
140150
self.node.safe_psql("pglist", "DROP INDEX pglist_rum_idx");
141151

142152
except Exception as e:

0 commit comments

Comments
 (0)