mirror of
https://github.com/postgres/postgres.git
synced 2025-12-21 05:21:08 +03:00
Give superusers REPLIACTION permission by default
This can be overriden by using NOREPLICATION on the CREATE ROLE statement, but by default they will have it, making it backwards compatible and "less surprising" (given that superusers normally override all checks).
This commit is contained in:
@@ -185,7 +185,8 @@ CREATE ROLE <replaceable class="PARAMETER">name</replaceable> [ [ WITH ] <replac
|
||||
A role having the <literal>REPLICATION</> attribute is a very
|
||||
highly privileged role, and should only be used on roles actually
|
||||
used for replication. If not specified,
|
||||
<literal>NOREPLICATION</literal> is the default.
|
||||
<literal>NOREPLICATION</literal> is the default for all roles except
|
||||
superusers.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
Reference in New Issue
Block a user