]> granicus.if.org Git - postgresql/commitdiff
On Sunday 17 December 2000 15:07, Bruce Momjian wrote:
authorBruce Momjian <bruce@momjian.us>
Wed, 20 Dec 2000 03:19:24 +0000 (03:19 +0000)
committerBruce Momjian <bruce@momjian.us>
Wed, 20 Dec 2000 03:19:24 +0000 (03:19 +0000)
> We need additions to alter_table.sgml for the new OWNER option mention
> in the features list.

Here it is.

--
Mark Hollomon

doc/src/sgml/ref/alter_table.sgml

index 72ae32010222b5f2ae0839e7711876c2b4db40dc..59e3b3a2ad8a82384cadf4fe68e282c4b05eacf3 100644 (file)
@@ -1,5 +1,5 @@
 <!--
-$Header: /cvsroot/pgsql/doc/src/sgml/ref/alter_table.sgml,v 1.15 2000/10/05 19:48:17 momjian Exp $
+$Header: /cvsroot/pgsql/doc/src/sgml/ref/alter_table.sgml,v 1.16 2000/12/20 03:19:24 momjian Exp $
 Postgres documentation
 -->
 
@@ -36,6 +36,8 @@ ALTER TABLE <replaceable class="PARAMETER">table</replaceable>
     RENAME TO <replaceable class="PARAMETER">newtable</replaceable>
 ALTER TABLE <replaceable class="PARAMETER">table</replaceable>
     ADD <replaceable class="PARAMETER">table constraint definition</replaceable>
+ALTER TABLE <replaceable class="PARAMETER">table</replaceable>
+       OWNER TO <replaceable class="PARAMETER">new owner</replaceable> 
   </synopsis>
 
   <refsect2 id="R2-SQL-ALTERTABLE-1">
@@ -100,6 +102,16 @@ ALTER TABLE <replaceable class="PARAMETER">table</replaceable>
        </para>
       </listitem>
      </varlistentry>
+
+     <varlistentry>
+      <term><replaceable class="PARAMETER">New user </replaceable></term>
+      <listitem>
+       <para>
+       The userid of the new owner of the table.
+       </para>
+      </listitem>
+     </varlistentry>
+
     </variablelist>
    </para>
   </refsect2>
@@ -158,6 +170,8 @@ ALTER TABLE <replaceable class="PARAMETER">table</replaceable>
    The ADD <replaceable class="PARAMETER">table constraint definition</replaceable> clause 
    adds a new constraint to the table using the same syntax as <xref
    linkend="SQL-CREATETABLE" endterm="SQL-CREATETABLE-title">. 
+   The OWNER clause chnages the owner of the table to the user <replaceable class="PARAMETER">
+   new user</replaceable>.
   </para>
 
   <para>