initdb: Add new page for initdb (#3833)

client-spec/clarity
Mansoor 2020-02-04 21:13:09 +08:00 committed by GitHub
parent 031db79e4d
commit 676bb11841
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 8 additions and 0 deletions

8
pages/common/initdb.md Normal file
View File

@ -0,0 +1,8 @@
# initdb
> Create a PostgreSQL database on disk.
> More information: <https://www.postgresql.org/docs/9.5/app-initdb.html>.
- Create a database at /usr/local/var/postgres:
`initdb -D /usr/local/var/postgres`