This document discusses integrating RabbitMQ with PostgreSQL by using RabbitMQ as a messaging system to publish notifications from PostgreSQL. It describes pg_amqp, a PostgreSQL extension that allows publishing messages via AMQP from user-defined functions. It also describes a PostgreSQL Listen Exchange in RabbitMQ that issues LISTEN commands and publishes received notifications to queues based on