Added tests for iterative index scan with empty index - resolves #679 [skip ci]

This commit is contained in:
Andrew Kane
2025-02-13 16:28:14 -08:00
parent 7cf9980696
commit 656b059258
4 changed files with 21 additions and 0 deletions

View File

@@ -123,6 +123,12 @@ SELECT * FROM t ORDER BY val <-> '[3,3,3]';
[0,0,0]
(3 rows)
TRUNCATE t;
SELECT * FROM t ORDER BY val <-> '[3,3,3]';
val
-----
(0 rows)
RESET hnsw.iterative_scan;
RESET hnsw.ef_search;
DROP TABLE t;