initdb failing (10.4 centos7) - Mailing list pgsql-general

From David G. Johnston
Subject initdb failing (10.4 centos7)
Date
Msg-id CAKFQuwYvjN2wtUVaGamko8O=zdyJDzgPoN6E0nVhpgAxtjaJ4Q@mail.gmail.com
Whole thread Raw
In response to Re: initdb failing (10.4 centos7)  (Adrian Klaver <adrian.klaver@aklaver.com>)
Responses Re: initdb failing (10.4 centos7)
List pgsql-general
On Saturday, May 19, 2018, Adrian Klaver <adrian.klaver@aklaver.com> wrote:
On 05/19/2018 03:44 PM, Michael Nolan wrote:


On Sat, May 19, 2018 at 5:23 PM, Adrian Klaver <adrian.klaver@aklaver.com <mailto:adrian.klaver@aklaver.com>> wrote:



    Then setting up the $DATADIR is on you:

    https://www.postgresql.org/docs/10/static/install-short.html
    <https://www.postgresql.org/docs/10/static/install-short.html>


Shouldn't this also be mentioned in the INSTALL file in the source directory then?

It is also in the Getting Started portion of INSTALL.

IIUC the INSTALL file is simply an artifact of the build process for which the doc sgml file is the source so they should indeed match.

While practically speaking one must initdb at least once after installation in order for the product to be useful initdb is itself not really part of the core installation routine.  IOW it is outside of what the make routine is responsible for and, as documented, it doesn't deal with permissions explicitly nor does it create parent directories.

David J.

pgsql-general by date:

Previous
From: Adrian Klaver
Date:
Subject: Re: initdb failing (10.4 centos7)
Next
From: Adrian Klaver
Date:
Subject: Re: initdb failing (10.4 centos7)