initdb - Mailing list pgsql-docs

From PG Doc comments form
Subject initdb
Date
Msg-id 20180115213024.3624.26539@wrigleys.postgresql.org
Whole thread Raw
Responses Re: initdb  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-docs
The following documentation comment has been logged on the website:

Page: https://www.postgresql.org/docs/9.6/static/app-initdb.html
Description:

So I was trying to create a new db with initdb.  I tried to run this with
the postgres user after installing the server rpm and it failed with runuser
may not be run as non-root users.   So then for fun I tried to run init db
as the root user which should have failed but instead it just reported
initializing database ... OK

According to the documentation this should have failed.  This is on centos
kernel version 3.10.0-693.11.6 and I was using the 9.6 repo.

pgsql-docs by date:

Previous
From: Michael Paquier
Date:
Subject: Re: Missing column_constraint explanation
Next
From: Tom Lane
Date:
Subject: Re: initdb