From: jkatz (@jkatz) <noreply+jkatz@github.com>
To: pgvector/pgvector <noreply+pgvector-pgvector@github.com>
Subject: Re: [pgvector/pgvector] PR #424: Update cost estimation to not use index when expected tuples is too low
Date: Sun, 21 Jan 2024 22:37:49 +0000
Message-ID: <gh-pgvector-pgvector-424-rc1461182328@github.com> (raw)
In-Reply-To: <gh-pgvector-pgvector-424@github.com>
References: <gh-pgvector-pgvector-424@github.com>
(on src/hnsw.c:115)
Suggestion: a comment that this value is derived from `disable_cost` in `src/backend/optimizer/path/costsize.c`, should that value ever change. Perhaps also move it up into a const at the top of this file or one of the shared headers.