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 #732: Are the provided functions meant to be part of the public interface?
Date: Tue, 10 Dec 2024 15:03:47 +0000
Message-ID: <gh-pgvector-pgvector-732-c2531936999@github.com> (raw)
In-Reply-To: <gh-pgvector-pgvector-732@github.com>
References: <gh-pgvector-pgvector-732@github.com>

Hi @k0nserv, all of the functions considered public are documented in the [Reference](https://github.com/pgvector/pgvector?tab=readme-ov-file#reference) section.

`array_to_vector` is used for casts.

```sql
SELECT ARRAY[1,2,3]::vector;
```

The [Postgres docs](https://www.postgresql.org/docs/current/sql-createcast.html) explain the arguments.

view thread (4+ messages)  latest in thread

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