pg.ddx.io  pgvector/pgvector GitHub issues and pull requests  
help / color / mirror / Atom feed
From: uasan (@uasan) <noreply+uasan@github.com>
To: pgvector/pgvector <noreply+pgvector-pgvector@github.com>
Subject: Re: [pgvector/pgvector] issue #829: Types description for Postgres binary protocol
Date: Fri, 25 Apr 2025 10:45:49 +0000
Message-ID: <gh-pgvector-pgvector-829-c2830069339@github.com> (raw)
In-Reply-To: <gh-pgvector-pgvector-829@github.com>
References: <gh-pgvector-pgvector-829@github.com>

@jkat, You might be interested, JS clients for which adapters for vector types are written, work in the text protocol of Postgres, this is not effective, here is an example of the type  halfvec 1536 dim:

Text form: ±19000 bytes.
Binary form: 3076 bytes.

That's why we wrote our own client to work in the binary protocol, by the way, the structure of your vector types is very simple and easy to implement, thank you.

view thread (5+ messages)

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