From: ankane (@ankane) <noreply+ankane@github.com>
To: pgvector/pgvector <noreply+pgvector-pgvector@github.com>
Subject: Re: [pgvector/pgvector] PR #1026: HNSW: don't rewind insertPage to deleted slots that cannot fit the element
Date: Thu, 15 Oct 2026 18:22:42 +0000
Message-ID: <gh-pgvector-pgvector-1026-c6199236224@github.com> (raw)
In-Reply-To: <gh-pgvector-pgvector-1026@github.com>
References: <gh-pgvector-pgvector-1026@github.com>
Thanks for testing. Can you share more about the contrived test? The `insertPage` should always be the last page for new indexes that use the free space map. For previously created indexes, the `insertPage` should move to the last page after the first vacuum (but should probably have it move after the first insert that extends the index).
Note: edited to correct current behavior