Skip to content

Commit 606fd8d

Browse files
committed
feat: need to cover less than or equal to 15
1 parent 413a82d commit 606fd8d

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

ansible/files/admin_api_scripts/pg_upgrade_scripts/initiate.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -430,8 +430,8 @@ $(cat /etc/postgresql/pg_hba.conf)" > /etc/postgresql/pg_hba.conf
430430
# Add the setting if not found
431431
echo "max_slot_wal_keep_size = -1" >> "$TMP_CONFIG"
432432

433-
# Remove db_user_namespace if upgrading from PG15
434-
if [[ "$OLD_PGVERSION" =~ ^15.* && "$PGVERSION" =~ ^17.* ]]; then
433+
# Remove db_user_namespace if upgrading from PG15 or lower
434+
if [[ "${OLD_PGVERSION%%.*}" -le 15 && "$PGVERSION" =~ ^17.* ]]; then
435435
sed -i '/^db_user_namespace/d' "$TMP_CONFIG"
436436
fi
437437

ansible/vars.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ postgres_major:
99

1010
# Full version strings for each major version
1111
postgres_release:
12-
postgresorioledb-17: "17.0.1.085-orioledb"
13-
postgres17: "17.4.1.035"
14-
postgres15: "15.8.1.092"
12+
postgresorioledb-17: "17.0.1.086-orioledb"
13+
postgres17: "17.4.1.036"
14+
postgres15: "15.8.1.093"
1515

1616
# Non Postgres Extensions
1717
pgbouncer_release: "1.19.0"

0 commit comments

Comments
 (0)