postgresql command show all database schema code example Example: show all Schemas postgres \dn # list the schemas