On 17th of July, Robert Haas committed patch:
Add new function pg_notification_queue_usage. This tells you what fraction of NOTIFY's queue is currently filled. Brendan Jurd, reviewed by Merlin Moncure and Gurjeet Singh. A few further tweaks by me.
Continue reading Waiting for 9.6 – Add new function pg_notification_queue_usage.