Content-Length: 257175 | pFad | http://github.com/postgrespro/postgres/commit/3ac577b912fb869f8c472c66f9bd60db833a103a

40 doc: Ensure intermediate path creation with mkdir · postgrespro/postgres@3ac577b · GitHub
Skip to content

Commit 3ac577b

Browse files
doc: Ensure intermediate path creation with mkdir
The mkdir command in the Installation from Source Short Version docs didn't use the -p intermediate path creation parameter which likely would cause the command to fail. At the time of writing, -p wasn't universally available but it can now be relied upon existing. The -p parameter is defined by POSIX, at least since posix-2004. Reported-by: Daniel Westermann <daniel.westermann@dbi-services.com> Reviewed-by: Tom Lane <tgl@sss.pgh.pa.us> Discussion: https://postgr.es/m/ZR0P278MB0920263E7F2D546A33E50079D20E9@ZR0P278MB0920.CHEP278.PROD.OUTLOOK.COM
1 parent 7e74aaf commit 3ac577b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/src/sgml/installation.sgml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ make
4141
su
4242
make install
4343
adduser postgres
44-
mkdir /usr/local/pgsql/data
44+
mkdir -p /usr/local/pgsql/data
4545
chown postgres /usr/local/pgsql/data
4646
su - postgres
4747
/usr/local/pgsql/bin/initdb -D /usr/local/pgsql/data

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres/commit/3ac577b912fb869f8c472c66f9bd60db833a103a

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy