From: Frédéric Buclin Date: Sat, 27 Nov 2010 21:06:43 +0000 (+0100) Subject: Bug 416784: In PostgreSQL 8.1 and newer, createuser takes the argument -R instead... X-Git-Tag: bugzilla-3.4.10~9 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fa320a9fbd89617a25d4508ead833467e32ea1c1;p=thirdparty%2Fbugzilla.git Bug 416784: In PostgreSQL 8.1 and newer, createuser takes the argument -R instead of -A r=manu a=LpSolit --- diff --git a/docs/en/xml/installation.xml b/docs/en/xml/installation.xml index 2f5dab039e..9c905758f3 100644 --- a/docs/en/xml/installation.xml +++ b/docs/en/xml/installation.xml @@ -847,12 +847,16 @@ max_allowed_packet=4M As the postgres user, you then need to create a new user: - bash$ createuser -U postgres -dAP bugs + bash$ createuser -U postgres -dRSP bugs When asked for a password, provide the password which will be set as $db_pass in localconfig. - The created user will have the ability to create databases and will not be - able to create new users. + The created user will not be a superuser (-S) and will not be able to create + new users (-R). He will only have the ability to create databases (-d). + + + If your are running PostgreSQL 8.0, you must replace -dRSP by -dAP. +