diff --git a/README.md b/README.md index 7002c5a..eb742f7 100644 --- a/README.md +++ b/README.md @@ -474,7 +474,7 @@ SET hnsw.ef_stream = 10000; The scan will also end if reaches `work_mem`, at which point a notice is shown ```text -NOTICE: hnsw iterative search exceeded work_mem after 50000 tuples +NOTICE: hnsw index scan exceeded work_mem after 50000 tuples HINT: Increase work_mem to scan more tuples. ``` diff --git a/src/hnswscan.c b/src/hnswscan.c index de68e6a..791ca4f 100644 --- a/src/hnswscan.c +++ b/src/hnswscan.c @@ -234,7 +234,7 @@ hnswgettuple(IndexScanDesc scan, ScanDirection dir) if (pairingheap_is_empty(so->discarded)) { ereport(NOTICE, - (errmsg("hnsw iterative search exceeded work_mem after " INT64_FORMAT " tuples", so->tuples), + (errmsg("hnsw index scan exceeded work_mem after " INT64_FORMAT " tuples", so->tuples), errhint("Increase work_mem to scan more tuples."))); break;