show table in pg code example
Example 1: show all tables postgres
\dt
# show list of tables in postgres
Example 2: show details of table postgres
postgres=# \d tablename;
\dt
# show list of tables in postgres
postgres=# \d tablename;