show psql tables code example Example 1: show table postgres command PostgreSQL show tables command \dt Example 2: show details of table postgres postgres=# \d tablename;