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

Commit c6fc6cf

Browse files
committed
On Sunday 17 December 2000 15:07, Bruce Momjian wrote:
> We need additions to alter_table.sgml for the new OWNER option mention > in the features list. Here it is. -- Mark Hollomon
1 parent 8274142 commit c6fc6cf

File tree

1 file changed

+15
-1
lines changed

1 file changed

+15
-1
lines changed

doc/src/sgml/ref/alter_table.sgml

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!--
2-
$Header: /cvsroot/pgsql/doc/src/sgml/ref/alter_table.sgml,v 1.15 2000/10/05 19:48:17 momjian Exp $
2+
$Header: /cvsroot/pgsql/doc/src/sgml/ref/alter_table.sgml,v 1.16 2000/12/20 03:19:24 momjian Exp $
33
Postgres documentation
44
-->
55

@@ -36,6 +36,8 @@ ALTER TABLE <replaceable class="PARAMETER">table</replaceable>
3636
RENAME TO <replaceable class="PARAMETER">newtable</replaceable>
3737
ALTER TABLE <replaceable class="PARAMETER">table</replaceable>
3838
ADD <replaceable class="PARAMETER">table constraint definition</replaceable>
39+
ALTER TABLE <replaceable class="PARAMETER">table</replaceable>
40+
OWNER TO <replaceable class="PARAMETER">new owner</replaceable>
3941
</synopsis>
4042

4143
<refsect2 id="R2-SQL-ALTERTABLE-1">
@@ -100,6 +102,16 @@ ALTER TABLE <replaceable class="PARAMETER">table</replaceable>
100102
</para>
101103
</listitem>
102104
</varlistentry>
105+
106+
<varlistentry>
107+
<term><replaceable class="PARAMETER">New user </replaceable></term>
108+
<listitem>
109+
<para>
110+
The userid of the new owner of the table.
111+
</para>
112+
</listitem>
113+
</varlistentry>
114+
103115
</variablelist>
104116
</para>
105117
</refsect2>
@@ -158,6 +170,8 @@ ALTER TABLE <replaceable class="PARAMETER">table</replaceable>
158170
The ADD <replaceable class="PARAMETER">table constraint definition</replaceable> clause
159171
adds a new constraint to the table using the same syntax as <xref
160172
linkend="SQL-CREATETABLE" endterm="SQL-CREATETABLE-title">.
173+
The OWNER clause chnages the owner of the table to the user <replaceable class="PARAMETER">
174+
new user</replaceable>.
161175
</para>
162176

163177
<para>

0 commit comments

Comments
 (0)