see all tables in a database postgresql in cmd code example Example: show all tables postgres \dt # show list of tables in postgres