psql show database tables code example Example 1: show table postgres command PostgreSQL show tables command \dt Example 2: postgresql list db postgres=# \l