From e1629c76a3403c09bde6800fe1f406716e8380b3 Mon Sep 17 00:00:00 2001 From: Jared Lunde Date: Wed, 11 Nov 2026 07:40:30 -0800 Subject: [PATCH] pgdg pins: pgvector 0.8.7, hypopg 1.4.5; pin_install names a missing pin PGDG dropped pgvector 0.8.2 and hypopg 1.4.2 from noble. Bump to the newest patch of the same minor. pin_install's empty grep exited the script under pipefail before its ERROR printed; it now prints it. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01WpMBiw38GkJFe49jfZowsH --- extensions.toml | 4 ++-- packer/scripts/03-pgdg-extensions.sh | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/extensions.toml b/extensions.toml index 603bf0f..4ef9d48 100644 --- a/extensions.toml +++ b/extensions.toml @@ -30,11 +30,11 @@ pg_trgm = "1.6" # 2026-06; verified via `apt-cache madison postgresql-18-` against # apt.postgresql.org noble-pgdg). pg_cron + pg_partman are non-negotiable # (pg_cron: REQUIRED + shared_preload; pg_partman: queue partitioned queues). -pgvector = "0.8.2" +pgvector = "0.8.7" postgis = "3.6.4" pg_cron = "1.6.7" pg_partman = "5.4.3" -hypopg = "1.4.2" +hypopg = "1.4.5" pg_repack = "1.5.3" # Dropped — no PGDG build for noble+pg18 as of 2026-06 (re-add a pin once PGDG # ships one): pgvectorscale (no postgresql-18-pgvectorscale), pg_jsonschema (no diff --git a/packer/scripts/03-pgdg-extensions.sh b/packer/scripts/03-pgdg-extensions.sh index e2d09fd..28fcc12 100644 --- a/packer/scripts/03-pgdg-extensions.sh +++ b/packer/scripts/03-pgdg-extensions.sh @@ -16,7 +16,7 @@ pin_install() { full_ver=$(apt-cache madison "${pkg}" \ | awk -F'|' '{print $2}' \ | tr -d ' ' \ - | grep "${upstream_ver}" \ + | { grep -F "${upstream_ver}" || true; } \ | head -1) if [[ -z "${full_ver}" ]]; then echo "ERROR: ${pkg} version matching '${upstream_ver}' not found in apt cache" >&2