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 #901: How do I extend pgvector with a custom distance metric?
Date: Tue, 30 Sep 2025 20:48:34 +0000
Message-ID: <gh-pgvector-pgvector-901-c3353756834@github.com> (raw)
In-Reply-To: <gh-pgvector-pgvector-901@github.com>
References: <gh-pgvector-pgvector-901@github.com>

Support function 2 is normalization (which isn't needed here), and support function 3 is type support, which is needed for halfvec.

```sql
FUNCTION 3 hnsw_halfvec_support(internal);
```

view thread (13+ messages)  latest in thread

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