diff --git a/doc/src/sgml/installation.sgml b/doc/src/sgml/installation.sgml index 1564b8ea04ee0..8782c87ab66e5 100644 --- a/doc/src/sgml/installation.sgml +++ b/doc/src/sgml/installation.sgml @@ -36,7 +36,7 @@ make su make install adduser postgres -mkdir /usr/local/pgsql/data +mkdir -p /usr/local/pgsql/data chown postgres /usr/local/pgsql/data su - postgres /usr/local/pgsql/bin/initdb -D /usr/local/pgsql/data @@ -1834,7 +1834,7 @@ export MANPATH PostgreSQL server account. It will not work as root. -root# mkdir /usr/local/pgsql/data +root# mkdir -p /usr/local/pgsql/data root# chown postgres /usr/local/pgsql/data root# su - postgres postgres$ /usr/local/pgsql/bin/initdb -D /usr/local/pgsql/data