The tag has no usage guidance.

learn more… | top users | synonyms

547
votes
7answers
973k views

How do I list all databases and tables using psql?

I am trying to learn PostgreSQL administration and have started learning how to use the psql command line tool. When I log in with psql --username=postgres, how do I list all databases and tables? I ...