Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> 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-notify.html



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: