postgres view table info code example Example: describe table postgres postgres=# \d schema.tablename;