Why do you need to do that...
https://www.postgresql.org/docs/9.0/sql-notify.html
Should be okay for 99% of needs no?
https://www.postgresql.org/docs/9.0/sql-notify.html
Should be okay for 99% of needs no?
The idea of simply being able to listen to a query without any additional work sounds like it could be really attractive in certain situations.
Sounds a lot like RethinkDB changefeeds https://rethinkdb.com/docs/changefeeds/ maybe check that out first :^)