From d83841f53bf393f75ad39ca771a858dd376c7344 Mon Sep 17 00:00:00 2001 From: Maurice Date: Mon, 23 Nov 2026 15:12:16 +0100 Subject: [PATCH] ci(postgres): restore with the 18 client tools the image ships The backup round trip now runs with pg_restore 18 against both lane servers, so a setting an older server does not know fails the lane. --- .github/workflows/test.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index b5b626164..15ebb0230 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -757,6 +757,15 @@ jobs: if-no-files-found: ignore retention-days: 14 + # The image ships the 18 client tools, which write settings a 14 server + # does not know; the backup round trip runs with the same tools here. + - name: Install the PostgreSQL 18 client tools + run: | + set -euo pipefail + sudo /usr/share/postgresql-common/pgdg/apt.postgresql.org.sh -y >/dev/null + sudo apt-get install -y --no-install-recommends postgresql-client-18 >/dev/null + /usr/lib/postgresql/18/bin/pg_restore --version + - name: Run the Postgres lane if: ${{ !cancelled() }} env: