pgvector.git / summary / log / commit / refs

commit    9fa17c10b880ca100682106e9bbcf6267a5248f1
Author:   Andrew Kane <andrew@ankane.org>
Date:     Tue Jun 30 20:40:32 2026 +0000

    Added comments to HNSW vacuuming tests [skip ci]


test/t/046_hnsw_vacuum_scan.pl | 1 + test/t/047_hnsw_vacuum_insert.pl | 1 + 2 files changed, 2 insertions(+) diff --git a/test/t/046_hnsw_vacuum_scan.pl b/test/t/046_hnsw_vacuum_scan.pl index c9b48cd4..cfdfa74d 100644 --- a/test/t/046_hnsw_vacuum_scan.pl +++ b/test/t/046_hnsw_vacuum_scan.pl @@ -22,6 +22,7 @@ $node->safe_psql("postgres", $node->safe_psql("postgres", "CREATE INDEX ON tst USING hnsw (v vector_l2_ops);"); $node->safe_psql("postgres", "DELETE FROM tst"); +# Test HNSW_SCAN_LOCK at the beginning of MarkDeleted is effective $node->pgbench( "--no-vacuum --client=5 --transactions=1000", 0, diff --git a/test/t/047_hnsw_vacuum_insert.pl b/test/t/047_hnsw_vacuum_insert.pl index a67b966a..7ec75716 100644 --- a/test/t/047_hnsw_vacuum_insert.pl +++ b/test/t/047_hnsw_vacuum_insert.pl @@ -21,6 +21,7 @@ $node->safe_psql("postgres", ); $node->safe_psql("postgres", "CREATE INDEX ON tst USING hnsw (v vector_l2_ops);"); +# Test no "hnsw graph not repaired" errors $node->pgbench( "--no-vacuum --client=5 --transactions=1000", 0, [parent: 14149b19f5f0]