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

Merged
igor merged 1 commits from fix/log-retention-pg-cron-dblink into main 2026-10-06 17:34:48 +00:00
Owner
No description provided.
igor added 1 commit 2026-10-06 17:34:48 +00:00
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
igor merged commit 4d0fa4fe69 into main 2026-10-06 17:34:48 +00:00
igor deleted branch fix/log-retention-pg-cron-dblink 2026-10-06 17:34:48 +00:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: public/supaspin#10