summaryrefslogtreecommitdiff
path: root/doc/src/sgml/ref/alter_tablespace.sgml
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2005-10-13 22:44:51 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2005-10-13 22:44:51 +0000
commitf91370cd2faf1fd35a1ac74d84652a85ed841919 (patch)
tree4a11a7f86fb6de4cf9b70c336d255a2705ef3ed2 /doc/src/sgml/ref/alter_tablespace.sgml
parenta9980ec37b3cd21e9bc77e2c368984e80fb25dfc (diff)
downloadpostgresql-f91370cd2faf1fd35a1ac74d84652a85ed841919.tar.gz
Update documentation to reflect the new ALTER OWNER rules for all
affected types of objects.
Diffstat (limited to 'doc/src/sgml/ref/alter_tablespace.sgml')
-rw-r--r--doc/src/sgml/ref/alter_tablespace.sgml10
1 files changed, 8 insertions, 2 deletions
diff --git a/doc/src/sgml/ref/alter_tablespace.sgml b/doc/src/sgml/ref/alter_tablespace.sgml
index bdfe4b8155..29c9d6778f 100644
--- a/doc/src/sgml/ref/alter_tablespace.sgml
+++ b/doc/src/sgml/ref/alter_tablespace.sgml
@@ -1,5 +1,5 @@
<!--
-$PostgreSQL: pgsql/doc/src/sgml/ref/alter_tablespace.sgml,v 1.1 2004/06/25 21:55:50 tgl Exp $
+$PostgreSQL: pgsql/doc/src/sgml/ref/alter_tablespace.sgml,v 1.2 2005/10/13 22:44:51 tgl Exp $
PostgreSQL documentation
-->
@@ -32,6 +32,13 @@ ALTER TABLESPACE <replaceable>name</replaceable> OWNER TO <replaceable>newowner<
<command>ALTER TABLESPACE</command> changes the definition of
a tablespace.
</para>
+
+ <para>
+ You must own the tablespace to use <command>ALTER TABLESPACE</>.
+ To alter the owner, you must also be a direct or indirect member of the new
+ owning role.
+ (Note that superusers have these privileges automatically.)
+ </para>
</refsect1>
<refsect1>
@@ -63,7 +70,6 @@ ALTER TABLESPACE <replaceable>name</replaceable> OWNER TO <replaceable>newowner<
<listitem>
<para>
The new owner of the tablespace.
- You must be a superuser to change the owner of a tablespace.
</para>
</listitem>
</varlistentry>