Re:Stop, Collaborate, and Listen/Notify
by merb on Friday April 15, 2016 @02:57PM
(#11506754)
It's great, unless you are using JDBC.
[ Parent
| on HN ]
Maybe this would help you: https://wiki.postgresql.org/wiki/PgNotificationHelper
That's still not as great as a second async connection on a notification thread. still lot's of work to make it useful.
yeah, the current/official JDBC driver does not support async listen/notify so you have to do polling.
note, the following jdbc driver can do async listen/notify: http://impossibl.github.io/pgjdbc-ng/