Add missing part of replication role docs
authorMagnus Hagander
Mon, 3 Jan 2011 11:00:09 +0000 (12:00 +0100)
committerMagnus Hagander
Mon, 3 Jan 2011 11:00:09 +0000 (12:00 +0100)
Noted by Peter E.

doc/src/sgml/user-manag.sgml

index d4906907ec00bec60f7d41eace4d5e3db0d6c233..08b3fb7dc4289f4b6837cfe254a7dd0a5f43be30 100644 (file)
@@ -169,7 +169,8 @@ CREATE USER name;
       superuser statussuperuser
       
        
-        A database superuser bypasses all permission checks.  This is a
+        A database superuser bypasses all permission checks, except the right
+        to log in or the right to initiate replication.  This is a
         dangerous privilege and should not be used carelessly; it is best
         to do most of your work as a role that is not a superuser.
         To create a new database superuser, use CREATE ROLE
@@ -208,6 +209,20 @@ CREATE USER name;
       
      
 
+     
+      initiating replicationroleprivilege to initiate replication
+      
+       
+        A role must explicitly be given permission to initiate streaming
+        replication (superusers do not bypass this check). A role used
+        for streaming replication must always have LOGIN
+        permission as well. To create such a role, use
+        CREATE ROLE name REPLICATION
+        LOGIN.
+       
+      
+     
+
      
       passwordpassword