From: borg (@borg) <noreply+borg@github.com>
To: pgvector/pgvector <noreply+pgvector-pgvector@github.com>
Subject: Re: [pgvector/pgvector] issue #790: On MacOS running PostgreSQL 16, installing pgvector 0.8.0 is resulting in "FATAL: terminating connection due to unexpected postmaster exit"
Date: Tue, 09 Dec 2025 12:36:20 +0000
Message-ID: <gh-pgvector-pgvector-790-c3632049228@github.com> (raw)
In-Reply-To: <gh-pgvector-pgvector-790@github.com>
References: <gh-pgvector-pgvector-790@github.com>
Compiling locally worked with `brew install postgresql@16` for me.
```
# Clone the pgvector repository
cd /tmp
git clone --branch v0.8.1 https://github.com/pgvector/pgvector.git
cd pgvector
# Set PostgreSQL 16 configuration
export PG_CONFIG=/opt/homebrew/opt/postgresql@16/bin/pg_config
# Build and install
make
make install
```
This installs:
```
- `vector.dylib` → `/opt/homebrew/opt/postgresql@16/lib/postgresql/`
- `vector.control` → `/opt/homebrew/opt/postgresql@16/share/postgresql@16/extension/`
- Migration SQL files → `/opt/homebrew/opt/postgresql@16/share/postgresql@16/extension/`
```
```
# Check that the extension files are present
ls -la /opt/homebrew/opt/postgresql@16/share/postgresql@16/extension/vector*
```