Doc: fix erroneous example.
authorTom Lane <tgl@sss.pgh.pa.us>
Wed, 8 Nov 2017 22:20:53 +0000 (17:20 -0500)
committerTom Lane <tgl@sss.pgh.pa.us>
Wed, 8 Nov 2017 22:21:01 +0000 (17:21 -0500)
The grammar requires these options to appear the other way 'round.

jotpe@posteo.de

Discussion: https://postgr.es/m/78933bd0-45ce-690e-b832-a328dd1a5567@posteo.de

doc/src/sgml/ddl.sgml

index b05a9c21500a57ae13a559b73f97653201e1737f..89805fb5adf3b408620788cf1c92bd2bb8ee9f7a 100644 (file)
@@ -3095,8 +3095,8 @@ CREATE TABLE measurement_y2007m12 PARTITION OF measurement
 
 CREATE TABLE measurement_y2008m01 PARTITION OF measurement
     FOR VALUES FROM ('2008-01-01') TO ('2008-02-01')
-    TABLESPACE fasttablespace
-    WITH (parallel_workers = 4);
+    WITH (parallel_workers = 4)
+    TABLESPACE fasttablespace;
 </programlisting>
       </para>