pg.ddx.io  pgvector/pgvector GitHub issues and pull requests  
help / color / mirror / Atom feed
From: skillmaker-dev (@skillmaker-dev) <noreply+skillmaker-dev@github.com>
To: pgvector/pgvector <noreply+pgvector-pgvector@github.com>
Subject: [pgvector/pgvector] issue #922: Cache lookup failed for type 16390
Date: Sun, 09 Nov 2025 19:56:22 +0000
Message-ID: <gh-pgvector-pgvector-922@github.com> (raw)

Hey, I had a PostgreSQL database locally in Windows with pgvector enabled and data with vectors, totalling 1 GB. I created another database on a remote server and enabled the vector extension.

Then I created a database dump `pg_dump -Fc --no-acl --no-owner -h localhost -U postgres dbname | gzip > dbname.dump.gz` then I restored it in the server, however, querying doesn't work now and I get this error:
```
2025-11-09 19:45:29.962 UTC [36] ERROR:  cache lookup failed for type 16390
2025-11-09 19:45:29.962 UTC [36] STATEMENT:  SELECT d."DocumentId", d."ChunkIndex", d."ChunkCount", d."Content", d."Metadata", 1.0 - (d."Embedding" <=> $1) AS "Similarity"
FROM documents AS d
WHERE 1.0 - (d."Embedding" <=> $1) >= $2
ORDER BY 1.0 - (d."Embedding" <=> $1) DESC
LIMIT $3
```

What is the solution for this issue?

view thread (4+ messages)  latest in thread

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