doc: clarify which table creation is used for inheritance part.
authorBruce Momjian
Tue, 31 Mar 2020 21:07:43 +0000 (17:07 -0400)
committerBruce Momjian
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: [email protected]
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
      Example
 
      
-      We use the same measurement table we used
-      above.  To implement it as a partitioned table using inheritance, use
+      We use the non-partitioned measurement
+      table above.  To implement partitioning using inheritance, use
       the following steps: