Improved message [skip ci]

This commit is contained in:
Andrew Kane
2024-09-22 22:31:48 -07:00
parent 91541fece6
commit a8e699c927
2 changed files with 2 additions and 2 deletions

View File

@@ -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 The scan will also end if reaches `work_mem`, at which point a notice is shown
```text ```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. HINT: Increase work_mem to scan more tuples.
``` ```

View File

@@ -234,7 +234,7 @@ hnswgettuple(IndexScanDesc scan, ScanDirection dir)
if (pairingheap_is_empty(so->discarded)) if (pairingheap_is_empty(so->discarded))
{ {
ereport(NOTICE, 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."))); errhint("Increase work_mem to scan more tuples.")));
break; break;