General FAQ
In most cases, this is due to a missing schema search path or a lack of permissions.
Warning
We strongly suggest you explore our new VectorChord implementation, offering enhanced stability and performance. Users are advised to transition to VectorChord. Refer to the migration guide for assistance.
The vector type or operator class is not found
In most cases, this is due to a missing schema search path or a lack of permissions.
Please go through this checklist:
- Run
\dxwithpsqlorSELECT * FROM pg_extension;and check if the extension exists.
If not, install it with CREATE EXTENSION vectors;
- Run
SHOW search_path;and check if it containsvectors.
If not, set it with SET search_path="$user", public, vectors;
- If
pgvecto.rsis installed by another superuser
Run \dn with psql or SELECT nspname FROM pg_catalog.pg_namespace; and check if the schema vectors exists.
If not, log in as the superuser and grant schema permissions to current_user:
GRANT ALL ON SCHEMA vectors to tensorchord;