Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
postgres-lambda-diff
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Jakob Huber
postgres-lambda-diff
Commits
1996b482
Commit
1996b482
authored
14 years ago
by
Magnus Hagander
Browse files
Options
Downloads
Patches
Plain Diff
Add missing part of replication role docs
Noted by Peter E.
parent
c0e96b49
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
doc/src/sgml/user-manag.sgml
+16
-1
16 additions, 1 deletion
doc/src/sgml/user-manag.sgml
with
16 additions
and
1 deletion
doc/src/sgml/user-manag.sgml
+
16
−
1
View file @
1996b482
...
@@ -169,7 +169,8 @@ CREATE USER <replaceable>name</replaceable>;
...
@@ -169,7 +169,8 @@ CREATE USER <replaceable>name</replaceable>;
<term>superuser status<indexterm><primary>superuser</></></term>
<term>superuser status<indexterm><primary>superuser</></></term>
<listitem>
<listitem>
<para>
<para>
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
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 do most of your work as a role that is not a superuser.
To create a new database superuser, use <literal>CREATE ROLE
To create a new database superuser, use <literal>CREATE ROLE
...
@@ -208,6 +209,20 @@ CREATE USER <replaceable>name</replaceable>;
...
@@ -208,6 +209,20 @@ CREATE USER <replaceable>name</replaceable>;
</listitem>
</listitem>
</varlistentry>
</varlistentry>
<varlistentry>
<term>initiating replication<indexterm><primary>role</><secondary>privilege to initiate replication</></></term>
<listitem>
<para>
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 <literal>LOGIN</>
permission as well. To create such a role, use
<literal>CREATE ROLE <replaceable>name</replaceable> REPLICATION
LOGIN</literal>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<varlistentry>
<term>password<indexterm><primary>password</></></term>
<term>password<indexterm><primary>password</></></term>
<listitem>
<listitem>
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment