What\'s the equivalent to show tables (from MySQL) in PostgreSQL?
show tables
The most straightforward way to list all tables at command line is, for my taste :
psql -a -U -p -h -c "\dt"
For a given database just add the database name :
It works on both Linux and Windows.