# select table_schema, count(*) as count_of_tables from information_schema.tables where table_type = 'BASE TABLE' group by table_schema;
table_schema | count_of_tables
--------------------+-----------------
information_schema | 4
midpoint | 100 (2)
pg_catalog | 64
public | 88 (1)
(4 rows)
# \dns *
List of schemas
Name | Owner
--------------------+-------------------
information_schema | midpoint
midpoint | midpoint (2)
pg_catalog | midpoint
pg_toast | midpoint
public | pg_database_owner (1)
(5 rows)