4.5. Notification and Notice Processing Commands

pg_listen — Set a callback for asynchronous notification messages
pg_on_connection_loss — Set a callback for unexpected connection loss
pg_notice_handler — Set a callback for notice or warning messages from the server

Abstract

The commands in this section are used to process notices and notification messages from the database server.