Open danieltprice opened 7 months ago
Integration partners need to capture DDL events and use EVENT TRIGGERS
to listen for them. Is it possible that, instead of trying to allow for event triggers completely, we offer a specific function to register for DDL events of a table. Partners need the DDL events, not necessarily the event triggers.
Probably https://github.com/xataio/pgroll needs event triggers as well Discussion https://neondb.slack.com/archives/C026T7K2YP9/p1717520052520779
Probably https://github.com/xataio/pgroll needs event triggers as well Discussion https://neondb.slack.com/archives/C026T7K2YP9/p1717520052520779
just fyi, issues tab on pgroll to me suggests that it's not advisable as a go-to
what's the expected timeline/priority of implementing this? i see #8808 was opened in august but it looks like there has been no movement since then.
This will be needed for Neon to be a fully supported target for https://zerosync.dev too. Without ability to receive correct DDL events transactionally, Neon can only ever be used with Zero (and other local first systems) for small deployments.
Happy to work with anyone on your team to define the minimal interface needed if full event triggers are too difficult.
Add support for event triggers to capture DDL events: https://www.postgresql.org/docs/current/event-triggers.html
We currently do not support event triggers due to the superuser requirement.
Related slack thread: https://neondb.slack.com/archives/C03QLRH7PPD/p1710592909306899
User requests: https://discord.com/channels/1176467419317940276/1216517379366846474/1216517382898454639 https://community.neon.tech/t/permission-denied-to-create-event-trigger/443