initdb failing (10.4 centos7)

From: "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com>
To: Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com>
Cc: Michael Nolan <htfoot(at)gmail(dot)com>, Don Seiler <don(at)seiler(dot)us>, "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>
Subject: initdb failing (10.4 centos7)
Date: 2018-05-19 23:06:16
Message-ID: CAKFQuwYvjN2wtUVaGamko8O=zdyJDzgPoN6E0nVhpgAxtjaJ4Q@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Saturday, May 19, 2018, Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com> wrote:

> On 05/19/2018 03:44 PM, Michael Nolan wrote:
>
>>
>>
>> On Sat, May 19, 2018 at 5:23 PM, Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com
>> <mailto:adrian(dot)klaver(at)aklaver(dot)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.

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Adrian Klaver 2018-05-19 23:11:13 Re: initdb failing (10.4 centos7)
Previous Message Adrian Klaver 2018-05-19 22:53:17 Re: initdb failing (10.4 centos7)