Contents / Previous / Next


LISTEN and NOTIFY

PostgreSQL allows users to send signals to one another using LISTEN and NOTIFY.

For example, suppose a user wants to receive notification when a table is updated. He can register the table name using the LISTEN command. If someone updates the table and then issues a NOTIFY command, all registered listeners will be informed of the change.

For more information, see the LISTEN and NOTIFY manual pages.