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 1iik48-0002WV-Uj for pgsql-docs@arkaria.postgresql.org; Sat, 21 Dec 2019 19:05:29 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1iik38-0001ov-Oc for pgsql-docs@arkaria.postgresql.org; Sat, 21 Dec 2019 19:04:26 +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 1iik38-0001go-DI for pgsql-docs@lists.postgresql.org; Sat, 21 Dec 2019 19:04:26 +0000 Received: from momjian.us ([72.94.173.45]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1iik36-0004vy-11 for pgsql-docs@lists.postgresql.org; Sat, 21 Dec 2019 19:04:25 +0000 Received: from bruce by momjian.us with local (Exim 4.92) (envelope-from ) id 1iik2r-0006nW-74; Sat, 21 Dec 2019 14:04:09 -0500 Date: Sat, 21 Dec 2019 14:04:09 -0500 From: Bruce Momjian To: 337229941@qq.com, pgsql-docs@lists.postgresql.org Subject: Re: It is recommended to add detailed description about initdb ... Message-ID: <20191221190409.GH11527@momjian.us> References: <157562412125.25840.14336877995162718296@wrigleys.postgresql.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <157562412125.25840.14336877995162718296@wrigleys.postgresql.org> User-Agent: Mutt/1.10.1 (2018-07-13) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On Fri, Dec 6, 2019 at 09:22:01AM +0000, PG Doc comments form wrote: > The following documentation comment has been logged on the website: > > Page: https://www.postgresql.org/docs/12/creating-cluster.html > Description: > > When I run initdb -D /home/myname/pgsql/data in /home/myname/pgsql/bin, it > return bash: initdb: command not found.... The others are like this. It must > be /home/myname/pgsql/bin/initdb -D /home/myname/pgsql/data. This is related to your PATH environment variable setting and not something we document. -- 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 +