]> granicus.if.org Git - postgresql/commitdiff
Docs: concurrent builds of partitioned indexes are not supported
authorDavid Rowley <drowley@postgresql.org>
Thu, 6 Jun 2019 00:36:37 +0000 (12:36 +1200)
committerDavid Rowley <drowley@postgresql.org>
Thu, 6 Jun 2019 00:36:37 +0000 (12:36 +1200)
Document that CREATE INDEX CONCURRENTLY is not currently supported for
indexes on partitioned tables.

Discussion: https://postgr.es/m/CAKJS1f_CErd2z9L21Q8OGLD4TgH7yw1z9MAtHTSO13sXVG-yow@mail.gmail.com
Backpatch-through: 11

doc/src/sgml/ref/create_index.sgml

index 30bb38bf62ec88ce93d5d70f41f25d5f8470c763..629a31ef7953f7d8e10b6b5d24ce3a8f2b77c14c 100644 (file)
@@ -615,6 +615,16 @@ Indexes:
     within a transaction block, but <command>CREATE INDEX CONCURRENTLY</command>
     cannot.
    </para>
+
+   <para>
+    Concurrent builds for indexes on partitioned tables are currently not
+    supported.  However, you may concurrently build the index on each
+    partition individually and then finally create the partitioned index
+    non-concurrently in order to reduce the time where writes to the
+    partitioned table will be locked out.  In this case, building the
+    partitioned index is a metadata only operation.
+   </para>
+
   </refsect2>
  </refsect1>