@ -169,16 +169,11 @@ CREATE USER <replaceable>name</replaceable>;
<listitem>
<listitem>
<para>
<para>
A database superuser bypasses all permission checks, except the right
A database superuser bypasses all permission checks, except the right
to log in or the right to initiate replication. This is a
to log in. This is a dangerous privilege and should not be used
dangerous privilege and should not be used carelessly; it is best
carelessly; it is best to do most of your work as a role that is not a
to do most of your work as a role that is not a superuser.
superuser. To create a new database superuser, use <literal>CREATE
To create a new database superuser, use <literal>CREATE ROLE
ROLE <replaceable>name</replaceable> SUPERUSER</literal>. You must do
<replaceable>name</replaceable> SUPERUSER</literal>. You must do
this as a role that is already a superuser.
this as a role that is already a superuser. Creating a superuser
will by default also grant permissions to initiate streaming
replication. For increased security this can be disallowed using
<literal>CREATE ROLE <replaceable>name</replaceable> SUPERUSER
NOREPLICATION</literal>.
</para>
</para>
</listitem>
</listitem>
</varlistentry>
</varlistentry>
@ -217,7 +212,8 @@ CREATE USER <replaceable>name</replaceable>;
<listitem>
<listitem>
<para>
<para>
A role must explicitly be given permission to initiate streaming
A role must explicitly be given permission to initiate streaming
replication. A role used for streaming replication must always
replication (except for superusers, since those bypass all permission
checks). A role used for streaming replication must always
have <literal>LOGIN</> permission as well. To create such a role, use
have <literal>LOGIN</> permission as well. To create such a role, use
<literal>CREATE ROLE <replaceable>name</replaceable> REPLICATION
<literal>CREATE ROLE <replaceable>name</replaceable> REPLICATION
LOGIN</literal>.
LOGIN</literal>.