pg.ddx.io  pgvector/pgvector GitHub issues and pull requests  
help / color / mirror / Atom feed
From: jkatz (@jkatz) <noreply+jkatz@github.com>
To: pgvector/pgvector <noreply+pgvector-pgvector@github.com>
Subject: Re: [pgvector/pgvector] issue #756: consider supporting an `enable_approxscan` option
Date: Sat, 11 Jan 2025 02:46:43 +0000
Message-ID: <gh-pgvector-pgvector-756-c2585031533@github.com> (raw)
In-Reply-To: <gh-pgvector-pgvector-756@github.com>
References: <gh-pgvector-pgvector-756@github.com>

> This guc wouldn't be defined in pgvector, but pgvector would check if it's set (just by name) and act accordingly.

If the plan is to propose it upstream, this is likely a discussion for pgsql-hackers, but scoping it to approximate indexes seems fairly limited. The "larger" feature would be to selectively enable/disable indexes from scanning, which is another way of saying "hints", which is a topic with a very long history. Alternatively, you can use an extension like [pg_hint_plan](https://github.com/ossc-db/pg_hint_plan) to provide hints in queries to force avoiding using a particular index.

view thread (12+ messages)  latest in thread

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