Created
June 9, 2025 13:43
-
-
Save charlesteh/0c5c0952eb803a1ce5e4c327251a2174 to your computer and use it in GitHub Desktop.
How to install pgvector in vanilla postgresql
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo apt install postgresql-15-pgvector | |
sudo -u postgres psql | |
CREATE EXTENSION vector; |
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
PostgreSQL 17: sudo apt install postgresql-17-pgvector