Re: initdb failing (10.4 centos7)

From: Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com>
To: "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(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: Re: initdb failing (10.4 centos7)
Date: 2018-05-19 23:11:13
Message-ID: 56948e15-5131-18e2-e8a0-3d527db2d017@aklaver.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 05/19/2018 04:06 PM, David G. Johnston wrote:
> On Saturday, May 19, 2018, Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com
> <mailto: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>
> <mailto: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>
>
> <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.

They are close but they do not match, there is no Getting Started
section in the Installation portion of the Web docs:

https://www.postgresql.org/docs/10/static/installation.html

>
> 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.

--
Adrian Klaver
adrian(dot)klaver(at)aklaver(dot)com

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Michael Nolan 2018-05-19 23:56:54 Re: initdb failing (10.4 centos7)
Previous Message David G. Johnston 2018-05-19 23:06:16 initdb failing (10.4 centos7)