Example Erlang OTP application that listens for PostgreSQL NOTIFY messages