How do I get a list of all the tables in a Postgresql database?

By Alvin J. Alexander, devdaily.com

Once you're logged into a Postgresql database using the psql client, issue this command at the psql prompt:

\dt

This will list all of the tables in the current database.


devdaily logo