mirror of
https://github.com/pgvector/pgvector.git
synced 2026-07-13 16:16:56 +08:00
Improved message [skip ci]
This commit is contained in:
@@ -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.
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|||||||
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user