What command we need to use to list all schemas in the current PostgreSQL Database ?

This command is used to list All Schemas in the current PostgreSQL Database along with their owners.

The \dn command is a PostgreSQL-specific meta-command used inside the psql command-line interface.

The default schema is usually public. Generally we use /dn to check existing schemas.

Leave a comment