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 15c8245b42
commit 38f42820be
2 changed files with 12 additions and 0 deletions

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;

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;