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

Commit2d1018c

Browse files
committed
Improve ALTER TABLE documentation
The ALTER TABLE documentation wasn't terribly clear when it came towhich commands could be combined together and what it meant when theywere.In particular, SET TABLESPACE *can* be combined with other commands,when it's operating against a single table, but not when multiple tablesare being moved with ALL IN TABLESPACE. Further, the actions areapplied together but not really in 'parallel', at least today.Pointed out by: Amit LangoteImproved wording from Tom.Back-patch to 9.4, where the ALL IN TABLESPACE option was added.Discussion:https://www.postgresql.org/message-id/14c535b4-13ef-0590-1b98-76af355a0763%40lab.ntt.co.jp
1 parent2259bf6 commit2d1018c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

‎doc/src/sgml/ref/alter_table.sgml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -767,11 +767,11 @@ ALTER TABLE [ IF EXISTS ] <replaceable class="PARAMETER">name</replaceable>
767767
</para>
768768

769769
<para>
770-
All theactions except <literal>RENAME</literal>,
771-
<literal>SET TABLESPACE</literal>, <literal>SET SCHEMA</literal>,
770+
All theforms of ALTER TABLE that act on a single table, except
771+
<literal>RENAME</literal>, <literal>SET SCHEMA</literal>,
772772
<literal>ATTACH PARTITION</literal>, and
773773
<literal>DETACH PARTITION</literal> can be combined into
774-
a list of multiple alterations toapply in parallel. For example, it
774+
a list of multiple alterations tobe applied together. For example, it
775775
is possible to add several columns and/or alter the type of several
776776
columns in a single command. This is particularly useful with large
777777
tables, since only one pass over the table need be made.

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp