In order to change the owner of a database in PostgreSQL, we type the following command:
ALTER DATABASE dbName
OWNER TO newOwner;
Published by Muhammad Asfour
Estimated reading time: 1 min
In order to change the owner of a database in PostgreSQL, we type the following command:
ALTER DATABASE dbName
OWNER TO newOwner;