diff --git a/roles/postgres/files/upgrade_pg.sh b/roles/postgres/files/upgrade_pg.sh index 42ee259fcb882cfc028ab8c209f2c229195e0b4c..19b6dc1fc383419acd2b8ea3e68a5e617aee82e9 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 != 13 )); then +if (( $to_major != 14 )); 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..."