Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save charlesteh/0c5c0952eb803a1ce5e4c327251a2174 to your computer and use it in GitHub Desktop.
Save charlesteh/0c5c0952eb803a1ce5e4c327251a2174 to your computer and use it in GitHub Desktop.
How to install pgvector in vanilla postgresql
sudo apt install postgresql-15-pgvector
sudo -u postgres psql
CREATE EXTENSION vector;
@charlesteh
Copy link
Author

PostgreSQL 17: sudo apt install postgresql-17-pgvector

@charlesteh
Copy link
Author

If permission denied must be superuser:

ALTER ROLE dbuser SUPERUSER;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment