mirror of
https://github.com/pgvector/pgvector.git
synced 2026-07-03 19:20:56 +08:00
Updated readme [skip ci]
This commit is contained in:
@@ -345,15 +345,14 @@ avg(vector) → vector | arithmetic mean
|
||||
|
||||
### Multiple Postgres Installations
|
||||
|
||||
If your machine has multiple Postgres installations, specify the one to use with:
|
||||
If your machine has multiple Postgres installations, specify the path to [pg_config](https://www.postgresql.org/docs/current/app-pgconfig.html) with:
|
||||
|
||||
```sh
|
||||
export PG_CONFIG=/Applications/Postgres.app/Contents/Versions/latest/bin/pg_config
|
||||
make clean
|
||||
make
|
||||
make install
|
||||
```
|
||||
|
||||
Then re-run the installation instructions (run `make clean` before `make` if needed)
|
||||
|
||||
### Ubuntu and Debian
|
||||
|
||||
If compilation fails with `fatal error: postgres.h: No such file or directory`, make sure Postgres development files are installed on the server.
|
||||
|
||||
Reference in New Issue
Block a user