Just tried running a local install and ran into issues with pgvector. This is on Fedora 42 and Postgres16. The packaged version of pgvector is 0.6.2 and it seems I need to compile from source to get a more recent one.
Then ran into conflicts trying to build pgvector, which seems to require postgresql-private-devel package that had conflicting requests with libpq-devel.
Resolved it by:
-
sudo dnf install postgresql-server-devel --allowerasing - Build pgvector
- Check installed version
sudo -u postgres psql discourse_development -c "SELECT * FROM pg_available_extensions WHERE name = 'vector';" -
sudo systemctl restart postgresql