From a8e699c927765a598fe192e36d0d2884b3d63215 Mon Sep 17 00:00:00 2001 From: Andrew Kane Date: Sun, 22 Sep 2024 22:31:48 -0700 Subject: [PATCH] Improved message [skip ci] --- README.md | 2 +- src/hnswscan.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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;