We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cbfe325 commit bb0e145Copy full SHA for bb0e145
pages/common/createdb.md
@@ -0,0 +1,16 @@
1
+# createdb
2
+
3
+> Create a PostgreSQL database.
4
+> More information: <https://www.postgresql.org/docs/current/app-createdb.html>.
5
6
+- Create a database owned by the current user:
7
8
+`createdb {{database_name}}`
9
10
+- Create a database owned by a specific user with a description:
11
12
+`createdb --owner={{username}} {{database_name}} '{{description}}'`
13
14
+- Create a database from a template:
15
16
+`createdb --template={{template_name}} {{database_name}}`
0 commit comments