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