File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed
ansible/files/admin_api_scripts/pg_upgrade_scripts Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -214,6 +214,12 @@ function initiate_upgrade {
214
214
if [[ " $OLD_PGVERSION " =~ 14* ]]; then
215
215
SHARED_PRELOAD_LIBRARIES=$( echo " $SHARED_PRELOAD_LIBRARIES " | sed " s/wrappers//" | xargs)
216
216
fi
217
+
218
+ # Timescale is no longer supported for PG17+ upgrades
219
+ if [[ " $PGVERSION " != " 15" ]]; then
220
+ SHARED_PRELOAD_LIBRARIES=$( echo " $SHARED_PRELOAD_LIBRARIES " | sed " s/timescaledb//" | xargs)
221
+ fi
222
+
217
223
SHARED_PRELOAD_LIBRARIES=$( echo " $SHARED_PRELOAD_LIBRARIES " | sed " s/pg_cron//" | xargs)
218
224
SHARED_PRELOAD_LIBRARIES=$( echo " $SHARED_PRELOAD_LIBRARIES " | sed " s/pg_net//" | xargs)
219
225
SHARED_PRELOAD_LIBRARIES=$( echo " $SHARED_PRELOAD_LIBRARIES " | sed " s/check_role_membership//" | xargs)
You can’t perform that action at this time.
0 commit comments