Pub/Sub
docs.pgdog.dev·10h·
Discuss: Hacker News

Note

This feature is new and experimental. Please report any issues you may run into.

Postgres has native support for pub/sub through LISTEN and NOTIFY commands. If you’re not familiar, pub/sub stands for publish/subscribe and allows you to send and listen for arbitrary messages, in real time, by using Postgres as the message broker.

Historically, this feature was only available to clients who connect to Postgres directly. PgDog supports this in transaction mode, removing this limitation. You can use LISTEN and NOTIFY, as if you’re connected directly to Postgres, with thousa…

Similar Posts

Loading similar posts...