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 @@ -213,6 +213,12 @@ function initiate_upgrade {
213
213
if [[ " $OLD_PGVERSION " =~ 14* ]]; then
214
214
SHARED_PRELOAD_LIBRARIES=$( echo " $SHARED_PRELOAD_LIBRARIES " | sed " s/wrappers//" | xargs)
215
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
+
216
222
SHARED_PRELOAD_LIBRARIES=$( echo " $SHARED_PRELOAD_LIBRARIES " | sed " s/pg_cron//" | xargs)
217
223
SHARED_PRELOAD_LIBRARIES=$( echo " $SHARED_PRELOAD_LIBRARIES " | sed " s/pg_net//" | xargs)
218
224
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