May 2018
Intermediate to advanced
576 pages
30h 25m
English
The createuser program is just a shallow wrapper around the executing SQL against the database cluster. It connects to the postgres database and then executes SQL commands for user creation. To create the same users through SQL, you can issue the following commands:
CREATE USER bob;CREATE USER alice CREATEDB;