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
doc: Improve documentation related to table partitioning feature.
Commit f0e4475 implemented table
partitioning, but failed to mention the "no row movement"
restriction in the documentation. Fix that and a few other issues.
Amit Langote, with some additional wordsmithing by me.
Copy file name to clipboardExpand all lines: doc/src/sgml/ref/create_table.sgml
+13-12
Original file line number
Diff line number
Diff line change
@@ -248,7 +248,7 @@ CREATE [ [ GLOBAL | LOCAL ] { TEMPORARY | TEMP } | UNLOGGED ] TABLE [ IF NOT EXI
248
248
</varlistentry>
249
249
250
250
<varlistentry>
251
-
<term><literal>PARTITION OF <replaceable class="PARAMETER">parent_table</replaceable></literal></term>
251
+
<term><literal>PARTITION OF <replaceable class="PARAMETER">parent_table</replaceable></literal> FOR VALUES <replaceable class="PARAMETER">partition_bound_spec</replaceable></term>
252
252
<listitem>
253
253
<para>
254
254
Creates the table as <firstterm>partition</firstterm> of the specified
@@ -275,7 +275,8 @@ CREATE [ [ GLOBAL | LOCAL ] { TEMPORARY | TEMP } | UNLOGGED ] TABLE [ IF NOT EXI
275
275
<para>
276
276
Rows inserted into a partitioned table will be automatically routed to
277
277
the correct partition. If no suitable partition exists, an error will
278
-
occur.
278
+
occur. Also, if updating a row in a given partition causes it to move
279
+
to another partition due to the new partition key, an error will occur.
279
280
</para>
280
281
281
282
<para>
@@ -1477,7 +1478,6 @@ CREATE TABLE employees OF employee_type (
0 commit comments