Обсуждение: It is recommended to add detailed description about initdb ...

Поиск
Список
Период
Сортировка

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

От
PG Doc comments form
Дата:
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.

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

От
Bruce Momjian
Дата:
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 +