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
3e754a89
Commit
3e754a89
authored
Apr 02, 2010
by
Simon Riggs
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Clarify some behaviours of REASSIGN OWNED and DROP OWNED BY.
parent
33065ef8
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
3 deletions
+14
-3
doc/src/sgml/ref/drop_owned.sgml
doc/src/sgml/ref/drop_owned.sgml
+5
-1
doc/src/sgml/ref/reassign_owned.sgml
doc/src/sgml/ref/reassign_owned.sgml
+9
-2
No files found.
doc/src/sgml/ref/drop_owned.sgml
View file @
3e754a89
<!--
$PostgreSQL: pgsql/doc/src/sgml/ref/drop_owned.sgml,v 1.
6 2008/11/14 10:22:46 petere
Exp $
$PostgreSQL: pgsql/doc/src/sgml/ref/drop_owned.sgml,v 1.
7 2010/04/02 17:29:22 sriggs
Exp $
PostgreSQL documentation
-->
...
...
@@ -92,6 +92,10 @@ DROP OWNED BY <replaceable class="PARAMETER">name</replaceable> [, ...] [ CASCAD
reassigns the ownership of all the database objects owned by one or
more roles.
</para>
<para>
Databases owned by the role(s) will not be removed.
</para>
</refsect1>
<refsect1>
...
...
doc/src/sgml/ref/reassign_owned.sgml
View file @
3e754a89
<!--
$PostgreSQL: pgsql/doc/src/sgml/ref/reassign_owned.sgml,v 1.
4 2008/11/14 10:22:47 petere
Exp $
$PostgreSQL: pgsql/doc/src/sgml/ref/reassign_owned.sgml,v 1.
5 2010/04/02 17:29:22 sriggs
Exp $
PostgreSQL documentation
-->
...
...
@@ -73,10 +73,17 @@ REASSIGN OWNED BY <replaceable class="PARAMETER">old_role</replaceable> [, ...]
that contains objects owned by a role that is to be removed.
</para>
<para>
<command>REASSIGN OWNED</command> requires privileges on both the
source role(s) and the target role.
</para>
<para>
The <xref linkend="sql-drop-owned"
endterm="sql-drop-owned-title"> command is an alternative that
drops all the database objects owned by one or more roles.
drops all the database objects owned by one or more roles. Note
also that <command>DROP OWNED</command> requires privileges only
on the source role(s).
</para>
<para>
...
...
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