File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -140,6 +140,14 @@ if [ "$UPGRADE_METHOD" == "pg_upgrade" ]; then
140
140
rm -f delete_old_cluster.sh # we don't need this
141
141
echo " Migration complete, running post-migration checks"
142
142
$NEWVER /bin/pg_ctl start -D " $NEWDAT "
143
+ echo " TURN off jit"
144
+ POST_UPGRADE_EXTENSION_SCRIPT=$( mktemp)
145
+ cat << EOF >> "$POST_UPGRADE_EXTENSION_SCRIPT "
146
+ ALTER SYSTEM SET jit = off;
147
+ SELECT pg_reload_conf();
148
+ EOF
149
+ " $NEWVER " /bin/psql -h localhost -U supabase_admin -p 5432 -d postgres -f " $POST_UPGRADE_EXTENSION_SCRIPT "
150
+
143
151
" $PG_PROVE " /bin/pg_prove --psql=" $NEWVER " /bin/psql -h localhost -U supabase_admin -d postgres -p 5432 \
144
152
" $PGUPGRADE_TESTS /pg_upgrade/tests/01-schema.sql"
145
153
" $PG_PROVE " /bin/pg_prove --psql=" $NEWVER " /bin/psql -h localhost -U supabase_admin -d postgres -p 5432 \
You can’t perform that action at this time.
0 commit comments