list_topics
SQL 0.1.1 · Source cbff27b8a34e1384384018680e46c20d5c610cc9.
Signature
postgremq.list_topics()
RETURNS TABLE(topic character varying)
The signature, defaults, and result above were extracted from the installed PostgreSQL catalog.
List named topics
Returns topic names ordered by name. Includes topics with no queues or retained payloads. Listing is not a declaration and does not reserve any topology.
Transactions and errors
Read-only under caller privileges. Concurrent topology changes can occur after the statement snapshot; a later publication can still find its target missing.
All calls require the applicable caller privileges. See SQL errors for driver failures and uncertain outcomes.
Example
SELECT * FROM postgremq.list_topics();
Zero rows is a valid empty installation.
Related: Topology, SQL conventions.