Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Postgres FD Implementation
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Abuhujair Javed
Postgres FD Implementation
Commits
75726307
Commit
75726307
authored
Jul 11, 2011
by
Andrew Dunstan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Improve wording of documentation on default privileges.
Per recent -hackers discussion.
parent
4240e429
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
9 deletions
+10
-9
doc/src/sgml/ref/grant.sgml
doc/src/sgml/ref/grant.sgml
+10
-9
No files found.
doc/src/sgml/ref/grant.sgml
View file @
75726307
...
@@ -139,15 +139,16 @@ GRANT <replaceable class="PARAMETER">role_name</replaceable> [, ...] TO <replace
...
@@ -139,15 +139,16 @@ GRANT <replaceable class="PARAMETER">role_name</replaceable> [, ...] TO <replace
</para>
</para>
<para>
<para>
Depending on the type of object, the initial default privileges might
PostgreSQL grants default privileges on some types of objects to
include granting some privileges to <literal>PUBLIC</literal>.
<literal>PUBLIC</literal>. No privileges are granted to
The default is no public access for tables, columns, schemas, and
<literal>PUBLIC</literal> by default on tables,
tablespaces;
columns, schemas or tablespaces. For other types, the default privileges
<literal>CONNECT</> privilege and <literal>TEMP</> table creation privilege
granted to <literal>PUBLIC</literal> are as follows:
for databases;
<literal>CONNECT</literal> and <literal>CREATE TEMP TABLE</literal> for
<literal>EXECUTE</> privilege for functions; and
databases; <literal>EXECUTE</literal> privilege for functions; and
<literal>USAGE</> privilege for languages.
<literal>USAGE</literal> privilege for languages.
The object owner can of course revoke these privileges. (For maximum
The object owner can, of course, <command>REVOKE</command>
both default and expressly granted privileges. (For maximum
security, issue the <command>REVOKE</> in the same transaction that
security, issue the <command>REVOKE</> in the same transaction that
creates the object; then there is no window in which another user
creates the object; then there is no window in which another user
can use the object.)
can use the object.)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment