view tables in database psql cli code example Example: show all tables postgres \dt # show list of tables in postgres