+3 votes
in Databases by (56.5k points)
Is there any way to see all the schema in a database using command line? I don't want to use SQL for it.

1 Answer

+1 vote
by (348k points)
selected by
 
Best answer

Use command '\dn' on the command line and it will show the list of schemas.

database=> \dn
                 List of schemas
                Name                 |   Owner
-------------------------------------+-----------

Related questions


...