We can list all PostgreSQL schemas using the (ANSI) standard INFORMATION_SCHEMA:
SELECT schema_name FROM information_schema.schemata;
Alternatively, we can use:
SELECT nspname FROM pg_catalog.pg_namespace;
As a result, you will get a list of all available schemas:
More details about The information schema.
If you are using psql, you can list all schemas simply by using the following command:
With ERBuilder Data Modeler, you can visualize all the available schemas (except the empty ones) in your PostgreSQL at the left Treeview explorer.
ERBuilder provides a data model browser which is an exploration module build for a full and deep exploration of the data structure extracted from your databases. You can use the advanced search to filter tables by schema name.
You can also drag and drop objects from the data model browser to the diagram area and edit them to build an ERD that suits your needs.
ERBuilder Data Modeler is a GUI data modeling tool that allows you to visualize, design and model databases by using entity relationship diagrams and automatically generates the most popular SQL databases including Amazon Redshift. Generate and share the data Model documentation with your team. Optimize your data model by using advanced features such as test data generation, schema compare and schema synchronization. Try now ERBuilder for 15 days FREEDOWNLOAD NOW