pgvector.git / summary / log / commit / refs
commit 159b79aaad5983fb7459c1e3df2897fbb2d11788
Author: Andrew Kane <andrew@ankane.org>
Date: Wed Jul 08 23:03:40 2026 +0000
Version bump to 0.8.5 [skip ci]
CHANGELOG.md | 2 +-
Dockerfile | 2 +-
META.json | 4 ++--
Makefile | 2 +-
Makefile.win | 2 +-
README.md | 30 +++++++++++++++---------------
sql/vector--0.8.4--0.8.5.sql | 2 ++
src/vector.c | 2 +-
vector.control | 2 +-
9 files changed, 25 insertions(+), 23 deletions(-)
diff --git a/CHANGELOG.md b/CHANGELOG.md
index d9944808..b40dc792 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,4 +1,4 @@
-## 0.8.5 (unreleased)
+## 0.8.5 (2026-07-08)
- Reduced memory usage for small tables for IVFFlat index builds
diff --git a/Dockerfile b/Dockerfile
index d5d523d3..c02d3ad3 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -5,7 +5,7 @@ ARG DEBIAN_CODENAME=bookworm
FROM postgres:$PG_MAJOR-$DEBIAN_CODENAME
ARG PG_MAJOR
-ADD https://github.com/pgvector/pgvector.git#v0.8.4 /tmp/pgvector
+ADD https://github.com/pgvector/pgvector.git#v0.8.5 /tmp/pgvector
RUN apt-get update && \
apt-mark hold locales && \
diff --git a/META.json b/META.json
index d11dbbca..0b5e1ac0 100644
--- a/META.json
+++ b/META.json
@@ -2,7 +2,7 @@
"name": "vector",
"abstract": "Open-source vector similarity search for Postgres",
"description": "Supports L2 distance, inner product, and cosine distance",
- "version": "0.8.4",
+ "version": "0.8.5",
"maintainer": [
"Andrew Kane <andrew@ankane.org>"
],
@@ -20,7 +20,7 @@
"vector": {
"file": "sql/vector.sql",
"docfile": "README.md",
- "version": "0.8.4",
+ "version": "0.8.5",
"abstract": "Open-source vector similarity search for Postgres"
}
},
diff --git a/Makefile b/Makefile
index 86d01d9c..edd6ac2a 100644
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,5 @@
EXTENSION = vector
-EXTVERSION = 0.8.4
+EXTVERSION = 0.8.5
MODULE_big = vector
DATA = $(wildcard sql/*--*--*.sql)
diff --git a/Makefile.win b/Makefile.win
index 787c9698..ff11777e 100644
--- a/Makefile.win
+++ b/Makefile.win
@@ -1,5 +1,5 @@
EXTENSION = vector
-EXTVERSION = 0.8.4
+EXTVERSION = 0.8.5
DATA_built = sql\$(EXTENSION)--$(EXTVERSION).sql
OBJS = src\bitutils.obj src\bitvec.obj src\halfutils.obj src\halfvec.obj src\hnsw.obj src\hnswbuild.obj src\hnswinsert.obj src\hnswscan.obj src\hnswutils.obj src\hnswvacuum.obj src\ivfbuild.obj src\ivfflat.obj src\ivfinsert.obj src\ivfkmeans.obj src\ivfscan.obj src\ivfutils.obj src\ivfvacuum.obj src\sparsevec.obj src\vector.obj
diff --git a/README.md b/README.md
index 27766b0d..a32d87c3 100644
--- a/README.md
+++ b/README.md
@@ -23,7 +23,7 @@ Compile and install the extension (supports Postgres 13+)
```sh
cd /tmp
-git clone --branch v0.8.4 https://github.com/pgvector/pgvector.git
+git clone --branch v0.8.5 https://github.com/pgvector/pgvector.git
cd pgvector
make
make install # may need sudo
@@ -40,7 +40,7 @@ Ensure [C++ support in Visual Studio](https://learn.microsoft.com/en-us/cpp/buil
```cmd
set "PGROOT=C:\Program Files\PostgreSQL\18"
cd %TEMP%
-git clone --branch v0.8.4 https://github.com/pgvector/pgvector.git
+git clone --branch v0.8.5 https://github.com/pgvector/pgvector.git
cd pgvector
nmake /F Makefile.win
nmake /F Makefile.win install
@@ -1151,23 +1151,23 @@ This adds pgvector to the [Postgres image](https://hub.docker.com/_/postgres) (r
Supported tags are:
-- `pg18-trixie`, `0.8.4-pg18-trixie`
-- `pg18-bookworm`, `0.8.4-pg18-bookworm`, `pg18`, `0.8.4-pg18`
-- `pg17-trixie`, `0.8.4-pg17-trixie`
-- `pg17-bookworm`, `0.8.4-pg17-bookworm`, `pg17`, `0.8.4-pg17`
-- `pg16-trixie`, `0.8.4-pg16-trixie`
-- `pg16-bookworm`, `0.8.4-pg16-bookworm`, `pg16`, `0.8.4-pg16`
-- `pg15-trixie`, `0.8.4-pg15-trixie`
-- `pg15-bookworm`, `0.8.4-pg15-bookworm`, `pg15`, `0.8.4-pg15`
-- `pg14-trixie`, `0.8.4-pg14-trixie`
-- `pg14-bookworm`, `0.8.4-pg14-bookworm`, `pg14`, `0.8.4-pg14`
-- `pg13-trixie`, `0.8.4-pg13-trixie`
-- `pg13-bookworm`, `0.8.4-pg13-bookworm`, `pg13`, `0.8.4-pg13`
+- `pg18-trixie`, `0.8.5-pg18-trixie`
+- `pg18-bookworm`, `0.8.5-pg18-bookworm`, `pg18`, `0.8.5-pg18`
+- `pg17-trixie`, `0.8.5-pg17-trixie`
+- `pg17-bookworm`, `0.8.5-pg17-bookworm`, `pg17`, `0.8.5-pg17`
+- `pg16-trixie`, `0.8.5-pg16-trixie`
+- `pg16-bookworm`, `0.8.5-pg16-bookworm`, `pg16`, `0.8.5-pg16`
+- `pg15-trixie`, `0.8.5-pg15-trixie`
+- `pg15-bookworm`, `0.8.5-pg15-bookworm`, `pg15`, `0.8.5-pg15`
+- `pg14-trixie`, `0.8.5-pg14-trixie`
+- `pg14-bookworm`, `0.8.5-pg14-bookworm`, `pg14`, `0.8.5-pg14`
+- `pg13-trixie`, `0.8.5-pg13-trixie`
+- `pg13-bookworm`, `0.8.5-pg13-bookworm`, `pg13`, `0.8.5-pg13`
You can also build the image manually:
```sh
-git clone --branch v0.8.4 https://github.com/pgvector/pgvector.git
+git clone --branch v0.8.5 https://github.com/pgvector/pgvector.git
cd pgvector
docker build --pull --build-arg PG_MAJOR=18 -t myuser/pgvector .
```
diff --git a/sql/vector--0.8.4--0.8.5.sql b/sql/vector--0.8.4--0.8.5.sql
new file mode 100644
index 00000000..e9e47dde
--- /dev/null
+++ b/sql/vector--0.8.4--0.8.5.sql
@@ -0,0 +1,2 @@
+-- complain if script is sourced in psql, rather than via CREATE EXTENSION
+\echo Use "ALTER EXTENSION vector UPDATE TO '0.8.5'" to load this file. \quit
diff --git a/src/vector.c b/src/vector.c
index e78e706c..7f464040 100644
--- a/src/vector.c
+++ b/src/vector.c
@@ -40,7 +40,7 @@
#endif
#if PG_VERSION_NUM >= 180000
-PG_MODULE_MAGIC_EXT(.name = "vector", .version = "0.8.4");
+PG_MODULE_MAGIC_EXT(.name = "vector", .version = "0.8.5");
#else
PG_MODULE_MAGIC;
#endif
diff --git a/vector.control b/vector.control
index 3ba8673d..3bcb49cb 100644
--- a/vector.control
+++ b/vector.control
@@ -1,4 +1,4 @@
comment = 'vector data type and ivfflat and hnsw access methods'
-default_version = '0.8.4'
+default_version = '0.8.5'
module_pathname = '$libdir/vector'
relocatable = true
[parent: c5a277a975ed]