3 ms·
> Or is there an alternative to polling and if so, what? :) LISTEN and NOTIFY are the common approaches to avoiding polling, but I've not used them myself (yet
by adamckay 4y ago
> Or is there an alternative to polling and if so, what? :)
LISTEN and NOTIFY are the common approaches to avoiding polling, but I've not used them myself (yet).
https://www.postgresql.org/docs/current/sql-listen.html https://www.postgresql.org/docs/current/sql-listen.html
https://www.postgresql.org/docs/current/sql-notify.html https://www.postgresql.org/docs/current/sql-notify.html