mirror of
https://github.com/pgvector/pgvector.git
synced 2026-07-15 00:56:54 +08:00
Updated readme [skip ci]
This commit is contained in:
@@ -345,15 +345,14 @@ avg(vector) → vector | arithmetic mean
|
|||||||
|
|
||||||
### Multiple Postgres Installations
|
### 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
|
```sh
|
||||||
export PG_CONFIG=/Applications/Postgres.app/Contents/Versions/latest/bin/pg_config
|
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
|
### 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.
|
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