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