how to get all tables available inside posgresql code example Example: show details of table postgres postgres=# \d tablename;