postgres sql command to chekc table in db code example Example: show details of table postgres postgres=# \d tablename;