I just had a case where a new user was slightly confused by our installation "Short Version" instructions. I think the confusion would be lessened by adding a couple of comments, as in the attached patch.
cheers andrew -- Andrew Dunstan EDB: https://www.enterprisedb.com
diff --git a/doc/src/sgml/installation.sgml b/doc/src/sgml/installation.sgml index 3c0aa118c7..4e4acb8e04 100644 --- a/doc/src/sgml/installation.sgml +++ b/doc/src/sgml/installation.sgml @@ -39,11 +39,13 @@ documentation. See standalone-profile.xsl for details. ./configure make su +# The following commands will be executed as root make install adduser postgres mkdir /usr/local/pgsql/data chown postgres /usr/local/pgsql/data su - postgres +# The following commands will be executed as postgres /usr/local/pgsql/bin/initdb -D /usr/local/pgsql/data /usr/local/pgsql/bin/pg_ctl -D /usr/local/pgsql/data -l logfile start /usr/local/pgsql/bin/createdb test