I'm trying to take advantage of Postgres' awesome NOTIFY<http://www.postgresql.org/docs/9.2/static/sql-notify.html> /LISTEN <http://www.postgresql.org/docs/9.2/static/sql-listen.html> feature to avoid polling a table for changes, but am having trouble trying to figure out how to use them from DataMapper. With the pg driver<https://rubygems.org/gems/pg>you can call wait_for_notify<http://deveiate.org/code/pg/PG/Connection.html#method-i-wait_for_notify>, which blocks until the server sends a NOTIFY response, but how would I execute this from a DataMapper context?
Also, if anyone has any experience with the JDBC driver, is it true that it doesn't support<http://jdbc.postgresql.org/documentation/head/listennotify.html>the wait_for_notify type behavior that the pg driver does so I would be unable to avoid polling using JRuby? Thanks! -- You received this message because you are subscribed to the Google Groups "DataMapper" group. To unsubscribe from this group and stop receiving emails from it, send an email to datamapper+unsubscr...@googlegroups.com. To post to this group, send email to datamapper@googlegroups.com. Visit this group at http://groups.google.com/group/datamapper?hl=en. For more options, visit https://groups.google.com/groups/opt_out.