pg.ddx.io  pgvector/pgvector GitHub issues and pull requests  
help / color / mirror / Atom feed
From: Stevod (@Stevod) <noreply+Stevod@github.com>
To: pgvector/pgvector <noreply+pgvector-pgvector@github.com>
Subject: [pgvector/pgvector] issue #685: Can't call 'avg' function in multi-domain schema
Date: Fri, 27 Sep 2024 18:44:47 +0000
Message-ID: <gh-pgvector-pgvector-685@github.com> (raw)

Can't figure out how to make this query work:
select avg(embedding) from schema1.tableA

Error is:
SQL Error [42883]: ERROR: function avg(company_domains.vector) does not exist
  Hint: No function matches the given name and argument types. You might need to add explicit type casts.
  Position: 8

pgvector extension is installed in the same (non-public) schema1 where the query is running.

Suspect its similar issue to: https://github.com/pgvector/pgvector/issues/417.

Advice would be really appreciated.

Postgres version is 16.4 and OS is Ubuntu 22.04.

Many thanks.

view thread (5+ messages)  latest in thread

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