pgvector.git / summary / log / commit / refs

commit    d19cc0d3719257539e3a0803a84412416cf0d75c
Author:   Andrew Kane <andrew@ankane.org>
Date:     Thu Jul 02 00:14:53 2026 +0000

    Improved HNSW vacuuming test [skip ci]


test/t/047_hnsw_vacuum_insert.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/t/047_hnsw_vacuum_insert.pl b/test/t/047_hnsw_vacuum_insert.pl index 7ec75716..c4872452 100644 --- a/test/t/047_hnsw_vacuum_insert.pl +++ b/test/t/047_hnsw_vacuum_insert.pl @@ -31,7 +31,7 @@ $node->pgbench( { "047_hnsw_vacuum_insert_insert\@500" => "INSERT INTO tst (v) VALUES (ARRAY[$array_sql]);", "047_hnsw_vacuum_insert_delete\@500" => "DELETE FROM tst WHERE i = (SELECT i FROM tst LIMIT 1);", - "047_hnsw_vacuum_insert_select\@20" => "SELECT i FROM tst ORDER BY v <-> '[0,0,0]' LIMIT 10;", + "047_hnsw_vacuum_insert_select\@20" => "SELECT i FROM tst ORDER BY v <-> (SELECT ARRAY[$array_sql]::vector) LIMIT 10;", "047_hnsw_vacuum_insert_vacuum\@1" => "VACUUM tst;" } ); [parent: 89fda3e1009a]