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.
This commit is contained in:
Maurice
2026-11-23 15:12:16 +01:00
parent 485fb93f78
commit d83841f53b
+9
View File
@@ -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: