PostgreSQL: Documentation: 12: CREATE DATABASE
www.postgresql.org › docs › 12CREATE DATABASE creates a new PostgreSQL database. To create a database, you must be a superuser or have the special CREATEDB privilege. See CREATE ROLE. By default, the new database will be created by cloning the standard system database template1. A different template can be specified by writing TEMPLATE name.
PostgreSQL: Documentation: 9.0: CREATE DATABASE
www.postgresql.org › docs › 9CREATE DATABASE creates a new PostgreSQL database. To create a database, you must be a superuser or have the special CREATEDB privilege. See CREATE USER. By default, the new database will be created by cloning the standard system database template1. A different template can be specified by writing TEMPLATE name.