File tree Expand file tree Collapse file tree 2 files changed +3
-10
lines changed
ansible/files/admin_api_scripts/pg_upgrade_scripts Expand file tree Collapse file tree 2 files changed +3
-10
lines changed Original file line number Diff line number Diff line change 541
541
542
542
alter database postgres connection limit -1;
543
543
544
- -- #incident-2024-09-12-project-upgrades-are-temporarily-disabled
545
- do $$
546
- begin
547
- if exists (select from pg_authid where rolname = 'pg_read_all_data') then
548
- execute('grant pg_read_all_data to postgres');
549
- end if;
550
- end
551
- $$;
552
- grant pg_signal_backend to postgres;
553
-
554
544
set session authorization supabase_admin;
555
545
drop role supabase_tmp;
556
546
commit;
Original file line number Diff line number Diff line change 78
78
79
79
run_sql -c " $RECREATE_PG_CRON_QUERY "
80
80
fi
81
+
82
+ # #incident-2024-09-12-project-upgrades-are-temporarily-disabled
83
+ run_sql -c " grant pg_read_all_data, pg_signal_backend to postgres"
81
84
}
82
85
83
86
function complete_pg_upgrade {
You can’t perform that action at this time.
0 commit comments