From 2eb55afb89ac656037030596787003b9ceeff932 Mon Sep 17 00:00:00 2001 From: Andrew Kane Date: Thu, 19 Nov 2026 20:25:45 -0800 Subject: [PATCH] Added Docker images for Postgres 19 [skip ci] --- Dockerfile | 2 +- Makefile | 2 +- README.md | 8 +++++--- 3 files changed, 7 insertions(+), 5 deletions(-) diff --git a/Dockerfile b/Dockerfile index 0ad9280a..3f754c2c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,6 @@ # syntax=docker/dockerfile:1 -ARG PG_MAJOR=18 +ARG PG_MAJOR=19 ARG DEBIAN_CODENAME=trixie FROM postgres:$PG_MAJOR-$DEBIAN_CODENAME ARG PG_MAJOR diff --git a/Makefile b/Makefile index 039e99d1..6f737a46 100644 --- a/Makefile +++ b/Makefile @@ -68,7 +68,7 @@ dist: git archive --format zip --prefix=$(EXTENSION)-$(EXTVERSION)/ --output dist/$(EXTENSION)-$(EXTVERSION).zip master # for Docker -PG_MAJOR ?= 18 +PG_MAJOR ?= 19 .PHONY: docker diff --git a/README.md b/README.md index d2b3428e..9a4d0bec 100644 --- a/README.md +++ b/README.md @@ -1160,13 +1160,15 @@ If installation fails with `Access is denied`, re-run the installation instructi Get the [Docker image](https://hub.docker.com/r/pgvector/pgvector) with: ```sh -docker pull pgvector/pgvector:pg18-trixie +docker pull pgvector/pgvector:pg19-trixie ``` -This adds pgvector to the [Postgres image](https://hub.docker.com/_/postgres) (replace `18` with your Postgres server version, and run it the same way). +This adds pgvector to the [Postgres image](https://hub.docker.com/_/postgres) (replace `19` with your Postgres server version, and run it the same way). Supported tags are: +- `pg19-trixie`, `0.8.7-pg19-trixie` +- `pg19-bookworm`, `0.8.7-pg19-bookworm`, `pg19`, `0.8.7-pg19` - `pg18-trixie`, `0.8.7-pg18-trixie` - `pg18-bookworm`, `0.8.7-pg18-bookworm`, `pg18`, `0.8.7-pg18` - `pg17-trixie`, `0.8.7-pg17-trixie` @@ -1181,7 +1183,7 @@ You can also build the image manually: ```sh git clone --branch v0.8.7 https://github.com/pgvector/pgvector.git cd pgvector -docker build --pull --build-arg PG_MAJOR=18 -t myuser/pgvector . +docker build --pull --build-arg PG_MAJOR=19 -t myuser/pgvector . ``` If you increase `maintenance_work_mem`, make sure `--shm-size` is at least that size to avoid an error with parallel HNSW index builds.