From e9d0e37eccc659e24532f8fb195c4142bf3f1f68 Mon Sep 17 00:00:00 2001 From: Jelle van der Waa <jelle@archlinux.org> Date: Tue, 4 Feb 2025 18:26:23 +0100 Subject: [PATCH] postgres: upgrade_pg: bump major version to 17 --- roles/postgres/files/upgrade_pg.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/postgres/files/upgrade_pg.sh b/roles/postgres/files/upgrade_pg.sh index 066228554..a41ccd71a 100755 --- a/roles/postgres/files/upgrade_pg.sh +++ b/roles/postgres/files/upgrade_pg.sh @@ -5,7 +5,7 @@ set -e TO_VERSION=$(pacman -Q postgresql | grep -Po '(?<=postgresql )[0-9]+\.[0-9]') to_major=${TO_VERSION%%.*} -if (( $to_major != 16 )); then +if (( $to_major != 17 )); then # NOTE: When this happens you should check the changelog and add any # necessary changes here. Then bump the version check. echo "ERROR: major upgrade detected, aborting..." -- GitLab