© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
SupabaseS
Supabase•4mo ago•
38 replies
Idris

Atomic triggers on storage

Hey I was wondering if triggers on storage objects are atomic. So let's say I have a trigger that creates a row in the files table when someone uploads a file. But inserting the trigger raises an exception. Will this result in a error for the upload and delete the uploaded file so there are no ghost files?
Supabase banner
SupabaseJoin
Supabase gives you the tools, documentation, and community that makes managing databases, authentication, and backend infrastructure a lot less overwhelming.
45,816Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Branching Drift Caused by Storage Triggers
SupabaseSSupabase / help-and-questions
6mo ago
Supabase S3 Storage - StorageUnknownError code: -32603
SupabaseSSupabase / help-and-questions
2y ago
Register Triggers on Vault
SupabaseSSupabase / help-and-questions
3y ago
Postgres triggers
SupabaseSSupabase / help-and-questions
4y ago