We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ef4a8f7 commit de46b44Copy full SHA for de46b44
ansible/files/admin_api_scripts/pg_upgrade_scripts/initiate.sh
@@ -213,6 +213,12 @@ function initiate_upgrade {
213
if [[ "$OLD_PGVERSION" =~ 14* ]]; then
214
SHARED_PRELOAD_LIBRARIES=$(echo "$SHARED_PRELOAD_LIBRARIES" | sed "s/wrappers//" | xargs)
215
fi
216
+
217
+ # Timescale is no longer supported for PG17+ upgrades
218
+ if [[ "$PGVERSION" != "15" ]]; then
219
+ SHARED_PRELOAD_LIBRARIES=$(echo "$SHARED_PRELOAD_LIBRARIES" | sed "s/timescaledb//" | xargs)
220
+ fi
221
222
SHARED_PRELOAD_LIBRARIES=$(echo "$SHARED_PRELOAD_LIBRARIES" | sed "s/pg_cron//" | xargs)
223
SHARED_PRELOAD_LIBRARIES=$(echo "$SHARED_PRELOAD_LIBRARIES" | sed "s/pg_net//" | xargs)
224
SHARED_PRELOAD_LIBRARIES=$(echo "$SHARED_PRELOAD_LIBRARIES" | sed "s/check_role_membership//" | xargs)
0 commit comments