You can LISTEN/NOTIFY. Or you can use logical replication and a custom subscriber.[1] Supabase uses the latter.[2]
[1]: https://www.postgresql.org/docs/current/logical-replication....
[1]: https://www.postgresql.org/docs/current/logical-replication....
I should note: I haven't used Decodable in production yet, I'm just a fan of Flink :)