how to get db schema from psql in commmand line code example Example: show all Schemas postgres \dn # list the schemas