Added test for hnsw.scan_mem_multiplier [skip ci]

This commit is contained in:
Andrew Kane
2024-10-27 20:05:58 -07:00
parent ea1a7318e8
commit d54760681e
2 changed files with 12 additions and 0 deletions
+8
View File
@@ -182,4 +182,12 @@ SHOW hnsw.max_scan_tuples;
SET hnsw.max_scan_tuples = 0;
ERROR: 0 is outside the valid range for parameter "hnsw.max_scan_tuples" (1 .. 2147483647)
SHOW hnsw.scan_mem_multiplier;
hnsw.scan_mem_multiplier
--------------------------
2
(1 row)
SET hnsw.scan_mem_multiplier = 0;
ERROR: 0 is outside the valid range for parameter "hnsw.scan_mem_multiplier" (1 .. 1000)
DROP TABLE t;
+4
View File
@@ -106,4 +106,8 @@ SHOW hnsw.max_scan_tuples;
SET hnsw.max_scan_tuples = 0;
SHOW hnsw.scan_mem_multiplier;
SET hnsw.scan_mem_multiplier = 0;
DROP TABLE t;