Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit a7b2f69

Browse files
committed
Add note about database ownership to REASSIGN OWNED command documentation,
per Josh Berkus. Add ALTER DATABASE to the "see also" section, too.
1 parent 6f1932c commit a7b2f69

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

doc/src/sgml/ref/reassign_owned.sgml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!--
2-
$PostgreSQL: pgsql/doc/src/sgml/ref/reassign_owned.sgml,v 1.6 2010/04/03 07:23:02 petere Exp $
2+
$PostgreSQL: pgsql/doc/src/sgml/ref/reassign_owned.sgml,v 1.7 2010/05/31 18:47:35 alvherre Exp $
33
PostgreSQL documentation
44
-->
55

@@ -92,6 +92,12 @@ REASSIGN OWNED BY <replaceable class="PARAMETER">old_role</replaceable> [, ...]
9292
privileges.
9393
</para>
9494

95+
<para>
96+
The <command>REASSIGN OWNED</command> command does not affect the
97+
ownership of any databases owned by the role. Use
98+
<xref linkend="sql-alterdatabase"> to reassign that ownership.
99+
</para>
100+
95101
</refsect1>
96102

97103
<refsect1>
@@ -109,6 +115,7 @@ REASSIGN OWNED BY <replaceable class="PARAMETER">old_role</replaceable> [, ...]
109115
<simplelist type="inline">
110116
<member><xref linkend="sql-drop-owned"></member>
111117
<member><xref linkend="sql-droprole"></member>
118+
<member><xref linkend="sql-alterdatabase"></member>
112119
</simplelist>
113120
</refsect1>
114121

0 commit comments

Comments
 (0)