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 #776: Iterative Scan doesn't support filtering by subquery
Date: Thu, 13 Feb 2025 23:34:02 +0000
Message-ID: <gh-pgvector-pgvector-776-c2657926467@github.com> (raw)
In-Reply-To: <gh-pgvector-pgvector-776@github.com>
References: <gh-pgvector-pgvector-776@github.com>

Hi @natehaze, if you use `SET enable_seqscan = off;`, it'll use the index for the last two subqueries (the first subquery is invalid). In any case, the index AM doesn't distinguish between different types of filters.

Edit: Also, for these specific queries, you'll likely see better performance without an index scan.

view thread (4+ messages)  latest in thread

Message-ID: <gh-pgvector-pgvector-776-c2657926467@github.com>
Permalink:  ../gh-pgvector-pgvector-776-c2657926467@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