PostgreSQL has a good listen/notify system. Documentation says:
There is a queue that holds notifications that have been sent but not yet processed by all listening sessions. If this queue becomes full, transactions calling NOTIFY will fail at commit.
But I can't find out what happening with events in a specified channel that doesn't have listeners. Will notification queue overflow or will PG drop these events from queue?
NOTIFY non_existing_channel;
– RotatoryNOTIFY non_existing_channel;
nothing happens in other channels. – Beirut