PlanetScale for Postgres is here. Request early access
Navigation

Postgres event triggers are now supported

We now support Postgres event triggers, bringing powerful database automation capabilities to your Postgres deployments.

No additional configuration is required. Simply create your event triggers using standard PostgreSQL syntax:

CREATE EVENT TRIGGER abort_ddl ON ddl_command_start
   EXECUTE FUNCTION abort_any_command();