From: | Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com> |
---|---|
To: | Samuel Williams <space(dot)ship(dot)traveller(at)gmail(dot)com> |
Cc: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: initdb createuser commands |
Date: | 2016-10-29 22:16:06 |
Message-ID: | 060e5efa-2bb0-a728-81b3-4c1193dc2f5e@aklaver.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
On 10/29/2016 03:02 PM, Samuel Williams wrote:
> FYI, https://wiki.archlinux.org/index.php/PostgreSQL mentions initdb,
> createuser, createdb and several others. I think my suggestion is
> still relevant and something that would improve the system for new
> users :)
Seems to me the solution would be to change the above docs to reflect a
simpler procedure. In other words:
[postgres]$ initdb --locale $LANG -E UTF8 -D '/var/lib/postgres/data'
becomes
[postgres]$ pg_ctl initdb -D '/var/lib/postgres/data' -o '--locale $LANG
-E UTF8 '
Remove 'Create your first database/user' and incorporate that into
'Access the database shell' where the database you connect to is
postgres instead of myDatabaseName and you create the user and database
using SQL commands.
--
Adrian Klaver
adrian(dot)klaver(at)aklaver(dot)com
From | Date | Subject | |
---|---|---|---|
Next Message | John R Pierce | 2016-10-29 22:25:08 | Re: initdb createuser commands |
Previous Message | Samuel Williams | 2016-10-29 22:02:57 | Re: initdb createuser commands |