mirror of
https://github.com/postgres/postgres.git
synced 2025-07-31 22:04:40 +03:00
doc: restrictions on alter database moving default tablespace
Mention tablespace must be empty and no one connected to the database. Report by Josh Berkus
This commit is contained in:
@ -77,8 +77,10 @@ ALTER DATABASE <replaceable class="PARAMETER">name</replaceable> RESET ALL
|
|||||||
Only the database owner or a superuser can do this; you must also have
|
Only the database owner or a superuser can do this; you must also have
|
||||||
create privilege for the new tablespace.
|
create privilege for the new tablespace.
|
||||||
This command physically moves any tables or indexes in the database's old
|
This command physically moves any tables or indexes in the database's old
|
||||||
default tablespace to the new tablespace. Note that tables and indexes
|
default tablespace to the new tablespace. The new default tablespace
|
||||||
in non-default tablespaces are not affected.
|
for this database must be empty, and no one can be connected to
|
||||||
|
the database. Tables and indexes in non-default tablespaces are
|
||||||
|
unaffected.
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
<para>
|
<para>
|
||||||
|
Reference in New Issue
Block a user