admin

LISTEN

Registers the session for channel notifications when the transaction commits. Use a persistent connection.

Formal Syntax & Structure

sql syntaxsql
LISTEN bm_lab_events;

Working Example

Example Snippetsql
-- Disposable PostgreSQL lab only; see LAB.md.LISTEN bm_lab_events;
SQL Reference