File tree 2 files changed +9
-5
lines changed
files/admin_api_scripts/pg_upgrade_scripts
2 files changed +9
-5
lines changed Original file line number Diff line number Diff line change @@ -43,8 +43,12 @@ POST_UPGRADE_EXTENSION_SCRIPT="/tmp/pg_upgrade/pg_upgrade_extensions.sql"
43
43
POST_UPGRADE_POSTGRES_PERMS_SCRIPT=" /tmp/pg_upgrade/pg_upgrade_postgres_perms.sql"
44
44
OLD_PGVERSION=$( run_sql -A -t -c " SHOW server_version;" )
45
45
46
- SERVER_LC_COLLATE=$( run_sql -A -t -c " SHOW lc_collate;" )
47
- SERVER_LC_CTYPE=$( run_sql -A -t -c " SHOW lc_ctype;" )
46
+ # Skip locale settings if both versions are PostgreSQL 17+ or 17-orioledb
47
+ if ! [[ (( "$OLD_PGVERSION " =~ ^17 .* || "$OLD_PGVERSION " == "17 - orioledb") && ("$PGVERSION " =~ ^17 .* || "$PGVERSION " == "17 - orioledb")) ]]; then
48
+ SERVER_LC_COLLATE=$( run_sql -A -t -c " SHOW lc_collate;" )
49
+ SERVER_LC_CTYPE=$( run_sql -A -t -c " SHOW lc_ctype;" )
50
+ fi
51
+
48
52
SERVER_ENCODING=$( run_sql -A -t -c " SHOW server_encoding;" )
49
53
50
54
POSTGRES_CONFIG_PATH=" /etc/postgresql/postgresql.conf"
Original file line number Diff line number Diff line change @@ -9,9 +9,9 @@ postgres_major:
9
9
10
10
# Full version strings for each major version
11
11
postgres_release :
12
- postgresorioledb-17 : " 17.0.1.077 -orioledb"
13
- postgres17 : " 17.4.1.027 "
14
- postgres15 : " 15.8.1.084 "
12
+ postgresorioledb-17 : " 17.0.1.078 -orioledb-upgrade-1 "
13
+ postgres17 : " 17.4.1.028-upgrade-1 "
14
+ postgres15 : " 15.8.1.085-upgrade-1 "
15
15
16
16
# Non Postgres Extensions
17
17
pgbouncer_release : " 1.19.0"
You can’t perform that action at this time.
0 commit comments