Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hOqTy-0007tC-1D for pgsql-docs@arkaria.postgresql.org; Thu, 09 May 2019 21:21:38 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1hOqTw-0003Tj-MR for pgsql-docs@arkaria.postgresql.org; Thu, 09 May 2019 21:21:36 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hOqTw-0003TZ-Bj for pgsql-docs@lists.postgresql.org; Thu, 09 May 2019 21:21:36 +0000 Received: from momjian.us ([72.94.173.45]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hOqTt-0004dH-RN for pgsql-docs@lists.postgresql.org; Thu, 09 May 2019 21:21:35 +0000 Received: from bruce by momjian.us with local (Exim 4.89) (envelope-from ) id 1hOqTs-0007U7-Ko; Thu, 09 May 2019 17:21:32 -0400 Date: Thu, 9 May 2019 17:21:32 -0400 From: Bruce Momjian To: jonas@morfosia.com, pgsql-docs@lists.postgresql.org Subject: Re: Minor improvement for creating directory structure Message-ID: <20190509212132.u4znpcgomcb7bvpp@momjian.us> References: <155730121653.1371.696230698360289717@wrigleys.postgresql.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <155730121653.1371.696230698360289717@wrigleys.postgresql.org> User-Agent: NeoMutt/20170113 (1.7.2) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On Wed, May 8, 2019 at 07:40:16AM +0000, PG Doc comments form wrote: > The following documentation comment has been logged on the website: > > Page: https://www.postgresql.org/docs/10/install-short.html > Description: > > 1) > $ mkdir /usr/local/pgsql/data > mkdir: cannot create directory ‘/usr/local/pgsql/data’: No such file or > directory My docs say: -p, --parents no error if existing, make parent directories as needed While I can see the value of "make parent directories as needed", having it do "no error if existing" could be bad. -- Bruce Momjian http://momjian.us EnterpriseDB http://enterprisedb.com + As you are, so once was I. As I am, so you will be. + + Ancient Roman grave inscription +