supabase / supautils

PostgreSQL extension that secures a cluster on a cloud environment
https://supabase.github.io/supautils
Apache License 2.0
59 stars 13 forks source link

Allow using event triggers without SUPERUSER #67

Open steve-chavez opened 11 months ago

steve-chavez commented 11 months ago

Problem

Currently there's no way to use event triggers. RDS allows it though, see https://web.archive.org/web/20190404104732/https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_PostgreSQL.html#PostgreSQL.Concepts.General.FeatureSupport.EventTriggers. Caveat: the user must delete event triggers when migrating to a new major postgres version.

References:

Solution

Allow event triggers for non superusers.