On 2016/12/20 4:08, Peter Eisentraut wrote:
> On 11/30/16 8:47 PM, Amit Langote wrote:
>>> So maybe something like
>>>
>>> All the forms of ALTER TABLE that act on a single table,
>>> except RENAME and SET SCHEMA, can be combined into a
>>> list of multiple alterations to be applied together.
>>
>> Updated patch attached.
>
> Could you please rebase this patch? Some new stuff about partitions has
> been added in the paragraph you are changing.
Sure, here it is.
Thanks,
Amit
diff --git a/doc/src/sgml/ref/alter_table.sgml b/doc/src/sgml/ref/alter_table.sgml
index 8ea6624147..cce853be8a 100644
--- a/doc/src/sgml/ref/alter_table.sgml
+++ b/doc/src/sgml/ref/alter_table.sgml
@@ -767,13 +767,12 @@ ALTER TABLE [ IF EXISTS ] <replaceable class="PARAMETER">name</replaceable>
</para>
<para>
- All the actions except <literal>RENAME</literal>,
- <literal>SET TABLESPACE</literal>, <literal>SET SCHEMA</literal>,
- <literal>ATTACH PARTITION</literal>, and
- <literal>DETACH PARTITION</literal> can be combined into
- a list of multiple alterations to apply in parallel. For example, it
- is possible to add several columns and/or alter the type of several
- columns in a single command. This is particularly useful with large
+ All the forms of <literal>ALTER TABLE</literal> that act on a single table,
+ except <literal>RENAME</literal>, <literal>SET SCHEMA</literal>,
+ <literal>ATTACH PARTITION</literal>, and <literal>DETACH PARTITION</literal>
+ can be combined into a list of multiple alterations to be applied together.
+ For example, it is possible to add several columns and/or alter the type of
+ several columns in a single command. This is particularly useful with large
tables, since only one pass over the table need be made.
</para>
--
Sent via pgsql-hackers mailing list ([email protected])
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers