3 ms·
It's great, unless you are using JDBC.
by merb 11y ago
It's great, unless you are using JDBC.
- jpitz 11y agoMaybe this would help you: https://wiki.postgresql.org/wiki/PgNotificationHelper https://wiki.postgresql.org/wiki/PgNotificationHelper
- merb 11y agoThat's still not as great as a second async connection on a notification thread. still lot's of work to make it useful.
- nierman 11y agoyeah, 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/ http://impossibl.github.io/pgjdbc-ng/