Amazon Redshift will no longer support the use of Python UDFs after June 30, 2026.
We will start enforcing it in phases. For more information on the details of Python end of life
and migration options, see the
blog post
SHOW CATALOGS
SHOW CATALOGS lists the top-level catalogs that you can access, such as namespace
catalogs and Amazon S3 Tables catalogs. It is useful when databases are not locally mounted, such as with
Amazon Redshift Serverless with express configuration, where external catalogs don't appear in
pg_database.
To list the databases inside a catalog, use SHOW DATABASES FROM CATALOG. For more information, see SHOW DATABASES.
Syntax
SHOW CATALOGS [ LIKE '<pattern>' ] [ LIMIT row_limit ]
Parameters
- LIKE '<pattern>'
-
Filters the list to catalogs that match the pattern. Supports the wildcard characters % (percent) and _ (underscore).
- LIMIT row_limit
-
The maximum number of rows to return.
Result columns
- catalog_name
-
The name of the catalog.
- catalog_type
-
The catalog type, such as
aws:redshiftoraws:s3tables. - catalog_id
-
The catalog identifier, for example
. For some Redshift Managed Storage catalogs, the identifier starts with the producer namespace ID instead of the account ID.account-id:catalog-name
Examples
List the catalogs that you can access:
SHOW CATALOGS;catalog_name | catalog_type | catalog_id -------------------+---------------+------------------------------- default-namespace | aws:redshift | 111122223333:default-namespace s3tablescatalog | aws:s3tables | 111122223333:s3tablescatalog sales-namespace | aws:redshift | 111122223333:sales-namespace
Limit the number of catalogs returned:
SHOW CATALOGS LIMIT 3;