view postgres tables in a database code example Example: show details of table postgres postgres=# \d tablename;