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] PR #1031: Remove approximate indexes for ORDER BY queries without a LIMIT
Date: Wed, 23 Sep 2026 18:28:02 +0000
Message-ID: <gh-pgvector-pgvector-1031-c5800558708@github.com> (raw)
In-Reply-To: <gh-pgvector-pgvector-1031@github.com>
References: <gh-pgvector-pgvector-1031@github.com>

Hi @oliness, thanks for the PR.

This seems to work well for some queries I've tested (better than `limit_tuples` in #424), but I'm worried it's more risky / brittle / could break other queries. For instance, `tuple_fraction` is set to zero in a [number of situations](https://github.com/postgres/postgres/blob/REL_18_6/src/backend/optimizer/path/allpaths.c#L2666-L2671).

@jkatz @hlinnaka any thoughts?

view thread (3+ messages)  latest in thread

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