It is recommended to add detailed description about initdb ...

Started by PG Bug reporting formover 6 years ago2 messagesdocs
Jump to latest
#1PG Bug reporting form
noreply@postgresql.org

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.

#2Bruce Momjian
bruce@momjian.us
In reply to: PG Bug reporting form (#1)
Re: It is recommended to add detailed description about initdb ...

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 <bruce@momjian.us> 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 +