command to describe table in postgres code example Example: describe table postgres postgres=# \d schema.tablename;