postgresql database table column code example Example: show details of table postgres postgres=# \d tablename;