3 ms·
I'm not sure about long ago, but the recent version of libpq has NOTIFY working asynchronously (you can stick the connection file descriptor in a select(2) and
by wulczer 14y ago
I'm not sure about long ago, but the recent version of libpq has NOTIFY working asynchronously (you can stick the connection file descriptor in a select(2) and you'll get woken up when a notify is available).
- jeltz 14y agoHmm, pretty certain nothing has changed recently there either. At least as far back as 7.1 the documentation has remained the same about this. http://www.postgresql.org/docs/7.1/static/libpq-notify.html http://www.postgresql.org/docs/7.1/static/libpq-notify.html What has happened recently though is that more language bindings to libpq have started exposing the NOTIFY functionality in more convenient ways.