mirror of
https://github.com/tldr-pages/tldr.git
synced 2026-09-19 09:51:28 +08:00
9 lines
248 B
Markdown
9 lines
248 B
Markdown
# initdb
|
|
|
|
> Create a PostgreSQL database cluster on disk.
|
|
> More information: <https://www.postgresql.org/docs/current/app-initdb.html>.
|
|
|
|
- Create a database cluster at `/usr/local/var/postgres`:
|
|
|
|
`initdb {{[-D|--pgdata]}} /usr/local/var/postgres`
|