Using Postgres Hooks to allow regular users to create event triggers