Hi! On Thu, Dec 20, 2018 at 12:07 PM Rob Sargent <robjsargent@xxxxxxxxx> wrote: > Are you hoping to see the difference in the returned values for successive calls to the same query? i would like to in as close to real-time as possible get notification when results of a query would have changed if I would do the same query again, without me having to do polling or without me having to do diffing. So if my query was SELECT * FROM table then having after update trigger on that table would give me such information on a row to row basis, or statement basis. But I am not doing just such queries. So I was thinking that I could create a view and then do SELECT * FROM view to get update trigger on changes on the view. So changes would happen because of changes do underlying tables. And I would like to be able to know when and what in that query has changed when underlying tables have changed. I have found this package [1] which seems to be close in the idea, but it does not seem to work in all cases. There is also an older different package. [2] I would like to see if something like this could be done inside database itself. [1] https://github.com/nothingisdead/pg-live-query [2] https://github.com/numtel/pg-live-select Mitar -- http://mitar.tnode.com/ https://twitter.com/mitar_m