Skip to main content

Syntax

SHOW SINKS [ FROM schema_name ] [ LIKE_expression ];

Parameters

Parameter or clauseDescription
schema_nameThe schema of the sinks to be listed. If not specified, sinks from all schemas in the current schema search_path will be listed.
LIKE_expressionFilters the output based on names by applying pattern matching. See details in LIKE pattern matching expressions.

Example

SHOW SINKS;
        Name
---------------------
 public.orders_sink
 public.metrics_sink
 public.kafka_export
(3 rows)
Starting from v2.7.0, the name column in the output includes the schema name as a prefix (e.g., public.sink_name). This helps distinguish sinks with the same name in different schemas when querying across multiple schemas in the search path.