Use DEBUG1 for exceeding work_mem [skip ci]

This commit is contained in:
Andrew Kane
2024-10-08 22:52:12 -07:00
parent caabac33b8
commit 1d3d0f46ac

View File

@@ -242,7 +242,7 @@ hnswgettuple(IndexScanDesc scan, ScanDirection dir)
{
if (pairingheap_is_empty(so->discarded))
{
ereport(NOTICE,
ereport(DEBUG1,
(errmsg("hnsw index scan exceeded work_mem after " INT64_FORMAT " tuples", so->tuples),
errhint("Increase work_mem to scan more tuples.")));