how to see tables of a db in psql command prompt code example Example: show all tables postgres \dt # show list of tables in postgres