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