]> granicus.if.org Git - postgresql/commitdiff
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:20:53 +0000 (17:20 -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 03cbaa60abd7d1028cc7b6b1ef8ec259a8f5d1d7..3f41939bea6b5caa6aebbddc75e81e2cc18e05d0 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>