Skip to content
masterclass Buddy

PostgreSQL · Command

NOTIFY

NOTIFY sends an optional payload event to clients listening on a channel in the current database. Delivery waits for transaction boundaries: the sender must commit, and the listener must finish its current transaction.

Last updated

Syntax

NOTIFY channel [ , payload ]

In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.

Subscribe
  • LISTEN
  • UNLISTEN
  • pg_notify
  • pg_notification_queue_usage

Source: PostgreSQL: Documentation: 18: NOTIFY. Checked 2026-11-03.