From: Frédéric Buclin Date: Sat, 27 Nov 2010 21:04:55 +0000 (+0100) Subject: Bug 416784: In PostgreSQL 8.1 and newer, createuser takes the argument -R instead... X-Git-Tag: bugzilla-3.6.4~16 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b4cb989e1705144cffab25dd2d7ea80091232bdb;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 22de51ffd6..1e8003e6ba 100644 --- a/docs/en/xml/installation.xml +++ b/docs/en/xml/installation.xml @@ -855,12 +855,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. +