You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: doc/src/sgml/ref/alter_table.sgml
+14-14Lines changed: 14 additions & 14 deletions
Original file line number
Diff line number
Diff line change
@@ -745,7 +745,7 @@ ALTER TABLE ALL IN TABLESPACE <replaceable class="PARAMETER">name</replaceable>
745
745
<term><literal>VALUES LESS THAN (<replaceable class="PARAMETER">value</replaceable>)</literal></term>
746
746
<listitem>
747
747
<para>
748
-
This form specifies the range of values to include into a single partition. The specified <literal>value</literal> is not included into the created partition.
748
+
This clause specifies the range of values to include into a single partition. The specified <replaceable>value</replaceable> is not included into the created partition.
749
749
</para>
750
750
</listitem>
751
751
</varlistentry>
@@ -754,7 +754,7 @@ ALTER TABLE ALL IN TABLESPACE <replaceable class="PARAMETER">name</replaceable>
<listitem><para>This form specifies the value by which to split a range partition. The provided value serves as the lower bound of the second partition.
779
+
<listitem><para>This clause specifies the value by which to split a range partition. The provided value serves as the lower bound of the right partition.
780
780
</para>
781
781
</listitem>
782
782
</varlistentry>
783
783
784
784
<varlistentry>
785
785
<term><literal>INTO</literal></term>
786
-
<listitem><para>This form specifies one or more target partitions. Use this form when performing <literal>SPLIT</literal> and <literal>MERGE</literal> actions. If you omit this form when splitting partitions, the left partition will use the parent partion name, and the right partition name will be generated automatically.
786
+
<listitem><para>This clause specifies one or more target partitions. Use this clause when performing <literal>SPLIT</literal> and <literal>MERGE</literal> actions. If you omit this clause when splitting partitions, the left partition will use the parent partion name, and the right partition name will be generated automatically.
787
787
</para>
788
788
</listitem>
789
789
</varlistentry>
@@ -797,21 +797,21 @@ ALTER TABLE ALL IN TABLESPACE <replaceable class="PARAMETER">name</replaceable>
Specify the number of partitions to create with hash partitioning. Alternatively, you can specify the exact partitions to create using <literal>PARTITION</literal> option.
867
+
Specify the number of partitions to create with hash partitioning.
868
868
</para>
869
869
</listitem>
870
870
</varlistentry>
@@ -873,7 +873,7 @@ ALTER TABLE ALL IN TABLESPACE <replaceable class="PARAMETER">name</replaceable>
873
873
<term><literal>START FROM (<replaceable class="PARAMETER">start_value</replaceable>)</literal></term>
874
874
<listitem>
875
875
<para>
876
-
Specify the lower bound of the first partition to create. The <literal>start_value</literal> must be not greater than the smallest value in the partitioning key column. Otherwise, <filename>pg_pathman</filename> returns the corresponding error.
876
+
Specify the lower bound of the first partition to create. The <replaceable>start_value</replaceable> must be not greater than the smallest value in the partitioning key column. Otherwise, <filename>pg_pathman</filename> returns the corresponding error.
877
877
</para>
878
878
</listitem>
879
879
</varlistentry>
@@ -882,7 +882,7 @@ ALTER TABLE ALL IN TABLESPACE <replaceable class="PARAMETER">name</replaceable>
Specify the interval for range partitioning. When you insert data outside of the existing data range, all new partitions will be created with this interval. You can omit this option if you specify the exact partitions to create using the <literal>PARTITION</literal> option. If the <literal>INTERVAL</literal> is not specified, <filename>pg_pathman</filename> cannot create new partitions automatically. You can later use the <literal>SET INTERVAL</literal> form to enable automatic partition creation.
885
+
Specify the interval for range partitioning. When you insert data outside of the existing data range, all new partitions will be created with this interval. If the <literal>INTERVAL</literal> is not specified, <filename>pg_pathman</filename> cannot create new partitions automatically. You can later use the <literal>SET INTERVAL</literal> form to enable automatic partition creation.
886
886
</para>
887
887
</listitem>
888
888
</varlistentry>
@@ -898,8 +898,8 @@ ALTER TABLE ALL IN TABLESPACE <replaceable class="PARAMETER">name</replaceable>
898
898
899
899
<para>
900
900
All the forms of ALTER TABLE that act on a single table, except
901
-
<literal>RENAME</literal>, and <literal>SET SCHEMA</literal>
902
-
can be combined into a list of multiple alterations to applied together.
901
+
<literal>RENAME</literal>, <literal>PARTITION BY</literal>, and <literal>SET SCHEMA</literal>,
902
+
can be combined into a list of multiple alterations to be applied together.
903
903
For example, it
904
904
is possible to add several columns and/or alter the type of several
905
905
columns in a single command. This is particularly useful with large
0 commit comments