How do I list all databases and tables using psql?
1595
votes
9
answers
3352534
views
When I log in with
psql --username=postgres
, how do I list all databases and tables?
I have tried \d
, d
and dS+
but nothing is listed. I have created two databases and a few tables with pgAdmin III, so I know they should be listed.
Asked by Jonas
(33975 rep)
Feb 17, 2011, 08:45 AM
Last activity: Sep 26, 2023, 01:02 PM
Last activity: Sep 26, 2023, 01:02 PM