In order to change the owner of a database in PostgreSQL, we type the following command:

ALTER DATABASE dbName
OWNER TO newOwner;