how to check database tables of postgresdb code example Example: show details of table postgres postgres=# \d tablename;