From: Grunthos (@Grunthos) <noreply+Grunthos@github.com>
To: pgvector/pgvector <noreply+pgvector-pgvector@github.com>
Subject: Re: [pgvector/pgvector] issue #963: Question: Binary initialisation
Date: Fri, 06 Mar 2026 02:42:49 +0000
Message-ID: <gh-pgvector-pgvector-963-c4009174534@github.com> (raw)
In-Reply-To: <gh-pgvector-pgvector-963@github.com>
References: <gh-pgvector-pgvector-963@github.com>
Hi @ankane,
I think you may have misunderstood my (sparsely stated) intent (or I have misunderstood the answer).
I meant those to be SQL functions; ie. something which I can use in queries. The link you posted was (I think) fow a wire protocol decoder?
Something that would support:
```
CREATE FUNCTION sparsevec_from_arrays(indices int[], values float4[])
RETURNS sparsevec
```