pg.ddx.io  pgvector/pgvector GitHub issues and pull requests  
help / color / mirror / Atom feed
From: ankane (@ankane) <noreply+ankane@github.com>
To: pgvector/pgvector <noreply+pgvector-pgvector@github.com>
Subject: Re: [pgvector/pgvector] issue #862: Inconsistent behavior with relaxed_order: planner assumes strict ordering from HNSW index
Date: Fri, 20 Jun 2025 12:48:01 +0000
Message-ID: <gh-pgvector-pgvector-862-c2991469279@github.com> (raw)
In-Reply-To: <gh-pgvector-pgvector-862@github.com>
References: <gh-pgvector-pgvector-862@github.com>

Hi @redphosphorus7562, for 1 and 2, the docs mention using a materialized CTE due to this behavior (the Postgres planner expects the index output to always be ordered, so it won't perform an additional sort for the 2nd query). For 3, can you share a minimal reproducible example?

view thread (8+ messages)  latest in thread

Message-ID: <gh-pgvector-pgvector-862-c2991469279@github.com>
Permalink:  ../gh-pgvector-pgvector-862-c2991469279@github.com/

 · 


This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox