fix: reach the log-retention job into _supabase over dblink

the supabase image pins cron.database_name to postgres, so pg_cron refuses
jobs scheduled from _supabase, where the log tables live; 1.3.2's upgrade
failed on the first live run with 'can only create extension in database
postgres'. The job now runs in postgres and deletes the _analytics
log_events_* rows in _supabase over a local dblink connection, which needs
no password because the image trusts local connections for supabase_admin.
version 1.3.3
This commit is contained in:
Igor K.
2026-10-06 20:34:39 +03:00
parent ea3b705008
commit 2c6e383617
4 changed files with 37 additions and 15 deletions
+1 -1
View File
@@ -1 +1 @@
1.3.2
1.3.3