[feladat @ 263]
Fixed create user example for PgSQL to have create a new user with a password.
--- a/install/index.php Fri May 09 15:41:02 2008 +0000
+++ b/install/index.php Mon May 12 07:36:11 2008 +0000
@@ -202,8 +202,10 @@
echo "<p><tt>GRANT SELECT, INSERT, UPDATE, DELETE<BR>ON " . $db_name . ".*<br>TO '" . $db_user . "'@'" . $db_host . "'<br>IDENTIFIED BY '" . $db_pass . "';</tt></p>";
} elseif ($db_type == 'pgsql') {
echo _('On PgSQL you would use:') . "</p>";
- echo "<p><tt>$ createuser " . $db_user . "<br>" .
- "Shall the new role be a superuser? (y/n) n<br>" .
+ echo "<p><tt>$ createuser -E -P " . $db_user . "<br>" .
+ "Enter password for new role: " . $db_pass . "<br>" .
+ "Enter it again: " . $db_pass . "<br>" .
+ "Shall the new role be a superuser? (y/n) n<br>" . A
"Shall the new user be allowed to create databases? (y/n) n<br>" .
"Shall the new user be allowed to create more new users? (y/n) n<br>" .
"CREATE USER<br>" .