3 ms·
You could probably get a poor's man version of this by setting up materialized views, a trigger on those views, and then write code in the trigger that pushes u
by coffeemug 12y ago
You could probably get a poor's man version of this by setting up materialized views, a trigger on those views, and then write code in the trigger that pushes updates onto a queueing system. It wouldn't be quite as convenient, but would probably accomplish what you want in many situations.
- kxo 12y agoThis exists: https://github.com/omniti-labs/pg_amqp https://github.com/omniti-labs/pg_amqp
- agrothberg 12y agoThis project has not been updated in almost two years.
- kxo 12y agoHas AMQP changed substantially in two years? For purposes of publishing a simple event?
- agrothberg 12y agoLooking over the fork graph: https://github.com/omniti-labs/pg_amqp/network https://github.com/omniti-labs/pg_amqp/network there are clearly people with that feel that status-quo release is missing features, etc.
- agrothberg 12y agoThis is another similarly stalled project: https://github.com/skariel/webalchemy https://github.com/skariel/webalchemy
- agrothberg 12y agoI thought you could not do row-level triggers on views in Postgres: http://www.postgresql.org/docs/9.4/static/sql-createtrigger.html http://www.postgresql.org/docs/9.4/static/sql-createtrigger....