doc: clarify which table creation is used for inheritance part.
authorBruce Momjian <bruce@momjian.us>
Tue, 31 Mar 2020 21:07:43 +0000 (17:07 -0400)
committerBruce Momjian <bruce@momjian.us>
Tue, 31 Mar 2020 21:07:43 +0000 (17:07 -0400)
Previously people might assume that the partition syntax version of
CREATE TABLE is to be used for the inheritance partition table example;
mention that the non-partitioned version should be used.

Reported-by: mib@nic.at
Discussion: https://postgr.es/m/158089540905.1098.15071165437284409576@wrigleys.postgresql.org

Backpatch-through: 10

doc/src/sgml/ddl.sgml

index 4e31c905926dd5c0588036daf4b10950634cd50b..41949393e80350b75a9595413ed99c3214deced0 100644 (file)
@@ -3494,8 +3494,8 @@ ALTER TABLE measurement ATTACH PARTITION measurement_y2008m02
      <title>Example</title>
 
      <para>
-      We use the same <structname>measurement</structname> table we used
-      above.  To implement it as a partitioned table using inheritance, use
+      We use the non-partitioned <structname>measurement</structname>
+      table above.  To implement partitioning using inheritance, use
       the following steps:
 
       <orderedlist spacing="compact">