Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit97d5548

Browse files
committed
doc: restrictions on alter database moving default tablespace
Mention tablespace must be empty and no one connected to the database.Report by Josh Berkus
1 parent52c1ae2 commit97d5548

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

‎doc/src/sgml/ref/alter_database.sgml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,8 +77,10 @@ ALTER DATABASE <replaceable class="PARAMETER">name</replaceable> RESET ALL
7777
Only the database owner or a superuser can do this; you must also have
7878
create privilege for the new tablespace.
7979
This command physically moves any tables or indexes in the database's old
80-
default tablespace to the new tablespace. Note that tables and indexes
81-
in non-default tablespaces are not affected.
80+
default tablespace to the new tablespace. The new default tablespace
81+
for this database must be empty, and no one can be connected to
82+
the database. Tables and indexes in non-default tablespaces are
83+
unaffected.
8284
</para>
8385

8486
<para>

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp