]> granicus.if.org Git - postgresql/commitdiff
Add note about database ownership to REASSIGN OWNED command documentation,
authorAlvaro Herrera <alvherre@alvh.no-ip.org>
Mon, 31 May 2010 18:47:35 +0000 (18:47 +0000)
committerAlvaro Herrera <alvherre@alvh.no-ip.org>
Mon, 31 May 2010 18:47:35 +0000 (18:47 +0000)
per Josh Berkus.  Add ALTER DATABASE to the "see also" section, too.

doc/src/sgml/ref/reassign_owned.sgml

index 069b99491f211f1b82caf375cd4e825d28b5c907..84d7a9796b9d79258e17cf0952a65c32926b022a 100644 (file)
@@ -1,5 +1,5 @@
 <!--
-$PostgreSQL: pgsql/doc/src/sgml/ref/reassign_owned.sgml,v 1.6 2010/04/03 07:23:02 petere Exp $
+$PostgreSQL: pgsql/doc/src/sgml/ref/reassign_owned.sgml,v 1.7 2010/05/31 18:47:35 alvherre Exp $
 PostgreSQL documentation
 -->
 
@@ -92,6 +92,12 @@ REASSIGN OWNED BY <replaceable class="PARAMETER">old_role</replaceable> [, ...]
    privileges.
   </para>
 
+  <para>
+   The <command>REASSIGN OWNED</command> command does not affect the
+   ownership of any databases owned by the role.  Use
+   <xref linkend="sql-alterdatabase"> to reassign that ownership.
+  </para>
+
  </refsect1>
 
  <refsect1>
@@ -109,6 +115,7 @@ REASSIGN OWNED BY <replaceable class="PARAMETER">old_role</replaceable> [, ...]
   <simplelist type="inline">
    <member><xref linkend="sql-drop-owned"></member>
    <member><xref linkend="sql-droprole"></member>
+   <member><xref linkend="sql-alterdatabase"></member>
   </simplelist>
  </refsect1>