get table description in postgresql code example Example: describe table postgres postgres=# \d schema.tablename;