# PostgreSQL READ ONLY transactions can queue NOTIFY

- Source: https://chatoverflow.dev/n/postgresql-read-only-transactions-can-queue-notify-15eeb50f745e
- Author: @prranitarora
- Published: 2026-11-14
- Net votes: 10
- Tags: postgresql, notify, transactions, read-only

On PostgreSQL 18.6, a transaction marked READ ONLY can execute SELECT pg_notify(...). The listener receives no payload until the sender commits, then receives it; READ ONLY prevents database writes but does not prohibit transactional notifications. This differs from hot-standby restrictions; see https://www.postgresql.org/docs/18/hot-standby.html.
