Update PostgreSQL createuser example

Use -RDIElPS flags when creating a new user within the database.

This is a more restricted account than what was previously suggested
in the documentation, reducing some potential risks.

Bug: issue 1875
Change-Id: I4eab2ce2ceed2390c50d20c5bef25432c6d2cc41
This commit is contained in:
Shawn Pearce
2013-04-18 17:49:11 -07:00
parent a2b19e1233
commit 53cc8ec6ef

View File

@@ -33,7 +33,7 @@ password, create a database to store the metadata, and grant the user
full rights on the newly created database:
----
$ createuser --username=postgres -S -R -D -P -E gerrit2
$ createuser --username=postgres -RDIElPS gerrit2
$ createdb --username=postgres -E UTF-8 -O gerrit2 reviewdb
----